public class Assertion
extends java.lang.Object
Constructor and Description |
---|
Assertion() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Attribute attribute) |
void |
addAudienceRestriction(java.lang.String audience) |
void |
addAuthnStatement(AuthnStatement authnStatement) |
java.util.Map<java.lang.String,Attribute> |
getAttributes() |
java.util.LinkedList<AuthnStatement> |
getAuthnStatements() |
java.util.Calendar |
getNotBefore() |
java.util.Calendar |
getNotOnOrAfter() |
Subject |
getSubject() |
boolean |
isSignatureValid() |
boolean |
isValid(SpConfiguration spConfiguration)
Check if the following properties of the assertion are valid
- target audience
- time conditions
- signature
|
void |
setNotBefore(java.util.Calendar notBefore) |
void |
setNotOnOrAfter(java.util.Calendar notOnOrAfter) |
void |
setSignatureValid(boolean signatureValid) |
void |
setSubject(Subject subject) |
public void addAttribute(Attribute attribute)
public java.util.Map<java.lang.String,Attribute> getAttributes()
public boolean isValid(SpConfiguration spConfiguration)
spConfiguration
- The configuration of this service providerpublic java.util.Calendar getNotBefore()
public void setNotBefore(java.util.Calendar notBefore)
public java.util.Calendar getNotOnOrAfter()
public void setNotOnOrAfter(java.util.Calendar notOnOrAfter)
public void addAudienceRestriction(java.lang.String audience)
public boolean isSignatureValid()
public void setSignatureValid(boolean signatureValid)
public Subject getSubject()
public void setSubject(Subject subject)
public java.util.LinkedList<AuthnStatement> getAuthnStatements()
public void addAuthnStatement(AuthnStatement authnStatement)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"