public class Assertion extends Object
Constructor and Description |
---|
Assertion() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Attribute attribute) |
void |
addAudienceRestriction(String audience) |
Map<String,Attribute> |
getAttributes() |
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)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"