public interface SamlToken extends XmlPresentable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SamlToken.TokenDelegate
Implementations of this class will act as containers for a single
intermediary/delegate represented by the assertion.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
For any non-null reference values x and y, this method returns
true if and only if the argument value implements this
interface and the corresponding token IDs match (
x.getId().equals(y.getId() == true ) |
List<Advice> |
getAdvice()
SAML assertions may have custom data that is embedded in them.
|
Set<String> |
getAudience()
If the assertion is addressed to one or more specific audiences they will
be in this list. Although a SAML relying party that is outside the
audiences specified is capable of drawing conclusions from an assertion,
the SAML asserting party explicitly makes no representation as to accuracy
or trustworthiness to such a party. Recommended use: The assertion
evaluates to Valid if and only if the SAML relying party is a member of
one or more of the audiences specified.
|
X509Certificate |
getConfirmationCertificate()
If the confirmation type of the token is holder-of-key then this method
will return the user's certificate.
|
ConfirmationType |
getConfirmationType() |
List<SamlToken.TokenDelegate> |
getDelegationChain()
The delegation chain reflects the path of the assertion through one or
more intermediaries that act on behalf of the subject of the assertion.
|
Date |
getExpirationTime() |
List<PrincipalId> |
getGroupList()
Returns the group IDs the token subject belongs to.
|
String |
getId() |
Date |
getStartTime() |
PrincipalId |
getSubject()
A subject of a token is the principal to which the token is issued.
|
SubjectNameId |
getSubjectNameId()
A subject of a token is the principal to which the token is issued.
|
int |
hashCode() |
boolean |
isDelegable() |
boolean |
isRenewable() |
boolean |
isSolution() |
importTo, toXmlDate getStartTime()
Date getExpirationTime()
boolean isRenewable()
boolean isDelegable()
ConfirmationType getConfirmationType()
PrincipalId getSubject()
PrincipalId of the initial requester.
This method should be used only to get the subject if it is in UPN format.
Otherwise the more general method getSubjectNameId() should be
used.SubjectNameId getSubjectNameId()
String getId()
nullList<SamlToken.TokenDelegate> getDelegationChain()
Set<String> getAudience()
nullX509Certificate getConfirmationCertificate()
null otherwiseList<Advice> getAdvice()
nullList<PrincipalId> getGroupList()
nullSamlToken#getSubject()}boolean isSolution()
true if this token represents a solution user. In
other words - if principal of the subject to which the token is
issued is a solution type of principal then this method will
return trueboolean equals(Object other)
true if and only if the argument value implements this
interface and the corresponding token IDs match (
x.getId().equals(y.getId() == true )Copyright © 2016. All rights reserved.