|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.client.validation.AssertionImpl
public final class AssertionImpl
Concrete Implementation of the Assertion.
| Constructor Summary | |
|---|---|
AssertionImpl(AttributePrincipal principal)
Creates a new Assertion with the supplied Principal. |
|
AssertionImpl(AttributePrincipal principal,
Date validFromDate,
Date validUntilDate,
Map<String,Object> attributes)
Creates a new Assertion with the supplied principal, Assertion attributes, and start and valid until dates. |
|
AssertionImpl(AttributePrincipal principal,
Map<String,Object> attributes)
Create a new Assertion with the supplied principal and Assertion attributes. |
|
AssertionImpl(String name)
Constructs a new Assertion with a Principal of the supplied name, a valid from date of now, no valid until date, and no attributes. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getAttributes()
The key/value pairs associated with this assertion. |
AttributePrincipal |
getPrincipal()
The principal for which this assertion is valid. |
Date |
getValidFromDate()
The date from which the assertion is valid from. |
Date |
getValidUntilDate()
The date which the assertion is valid until. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionImpl(String name)
name - the name of the principal for which this assertion is valid.public AssertionImpl(AttributePrincipal principal)
principal - the Principal to associate with the Assertion.
public AssertionImpl(AttributePrincipal principal,
Map<String,Object> attributes)
principal - the Principal to associate with the Assertion.attributes - the key/value pairs for this attribute.
public AssertionImpl(AttributePrincipal principal,
Date validFromDate,
Date validUntilDate,
Map<String,Object> attributes)
principal - the Principal to associate with the Assertion.validFromDate - when the assertion is valid from.validUntilDate - when the assertion is valid to.attributes - the key/value pairs for this attribute.| Method Detail |
|---|
public Date getValidFromDate()
Assertion
getValidFromDate in interface Assertionpublic Date getValidUntilDate()
Assertion
getValidUntilDate in interface Assertionpublic Map<String,Object> getAttributes()
Assertion
getAttributes in interface Assertionpublic AttributePrincipal getPrincipal()
Assertion
getPrincipal in interface Assertion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||