public class Assertion extends Object
| Constructor and Description |
|---|
Assertion() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Attribute attribute) |
void |
addAudienceRestriction(String audience) |
void |
addAuthnStatement(AuthnStatement authnStatement) |
Map<String,Attribute> |
getAttributes() |
LinkedList<AuthnStatement> |
getAuthnStatements() |
Calendar |
getNotBefore() |
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(Calendar notBefore) |
void |
setNotOnOrAfter(Calendar notOnOrAfter) |
void |
setSignatureValid(boolean signatureValid) |
void |
setSubject(Subject subject) |
public void addAttribute(Attribute attribute)
public boolean isValid(SpConfiguration spConfiguration)
spConfiguration - The configuration of this service providerpublic Calendar getNotBefore()
public void setNotBefore(Calendar notBefore)
public Calendar getNotOnOrAfter()
public void setNotOnOrAfter(Calendar notOnOrAfter)
public void addAudienceRestriction(String audience)
public boolean isSignatureValid()
public void setSignatureValid(boolean signatureValid)
public Subject getSubject()
public void setSubject(Subject subject)
public LinkedList<AuthnStatement> getAuthnStatements()
public void addAuthnStatement(AuthnStatement authnStatement)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"