|
||||||||||
| 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 Assrtion with the supplied Principal. |
|
AssertionImpl(AttributePrincipal principal,
java.util.Date validFromDate,
java.util.Date validUntilDate,
java.util.Map attributes)
Creats a new Assertion with the supplied principal, Assertion attributes, and start and valid until dates. |
|
AssertionImpl(AttributePrincipal principal,
java.util.Map attributes)
Create a new Assertion with the supplied principal and Assertion attributes. |
|
AssertionImpl(java.lang.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 | |
|---|---|
java.util.Map |
getAttributes()
The key/value pairs associated with this assertion. |
AttributePrincipal |
getPrincipal()
The principal for which this assertion is valid. |
java.util.Date |
getValidFromDate()
The date from which the assertion is valid from. |
java.util.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(java.lang.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,
java.util.Map attributes)
principal - the Principal to associate with the Assertion.attributes - the key/value pairs for this attribute.
public AssertionImpl(AttributePrincipal principal,
java.util.Date validFromDate,
java.util.Date validUntilDate,
java.util.Map 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 java.util.Date getValidFromDate()
Assertion
getValidFromDate in interface Assertionpublic java.util.Date getValidUntilDate()
Assertion
getValidUntilDate in interface Assertionpublic java.util.Map 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 | |||||||||