|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.sts.token.provider.DefaultConditionsProvider
public class DefaultConditionsProvider
A default implementation of the ConditionsProvider interface.
Field Summary | |
---|---|
static long |
DEFAULT_MAX_LIFETIME
|
Constructor Summary | |
---|---|
DefaultConditionsProvider()
|
Method Summary | |
---|---|
protected List<org.apache.wss4j.common.saml.bean.AudienceRestrictionBean> |
createAudienceRestrictions(TokenProviderParameters providerParameters)
Create a list of AudienceRestrictions to be added to the Conditions Element of the issued Assertion. |
protected String |
extractAddressFromParticipantsEPR(Object participants)
Extract an address from a Participants EPR DOM element |
org.apache.wss4j.common.saml.bean.ConditionsBean |
getConditions(TokenProviderParameters providerParameters)
Get a ConditionsBean object. |
long |
getFutureTimeToLive()
Get how long (in seconds) a client-supplied Created Element is allowed to be in the future. |
long |
getLifetime()
Get the default lifetime in seconds for issued SAML token where requestor doesn't specify a lifetime element |
long |
getMaxLifetime()
Get the maximum lifetime in seconds for issued SAML token if requestor specifies lifetime element |
boolean |
isAcceptClientLifetime()
Is client lifetime element accepted Default: false |
boolean |
isFailLifetimeExceedance()
If requested lifetime exceeds shall it fail (default) or overwrite with maximum lifetime |
void |
setAcceptClientLifetime(boolean acceptClientLifetime)
Set whether client lifetime is accepted |
void |
setFailLifetimeExceedance(boolean failLifetimeExceedance)
If requested lifetime exceeds shall it fail (default) or overwrite with maximum lifetime |
void |
setFutureTimeToLive(long futureTimeToLive)
Set how long (in seconds) a client-supplied Created Element is allowed to be in the future. |
void |
setLifetime(long lifetime)
Set the default lifetime in seconds for issued SAML tokens |
void |
setMaxLifetime(long maxLifetime)
Set the maximum lifetime in seconds for issued SAML tokens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long DEFAULT_MAX_LIFETIME
Constructor Detail |
---|
public DefaultConditionsProvider()
Method Detail |
---|
public long getFutureTimeToLive()
public void setFutureTimeToLive(long futureTimeToLive)
public void setLifetime(long lifetime)
default
- lifetime in secondspublic long getLifetime()
getLifetime
in interface ConditionsProvider
public void setMaxLifetime(long maxLifetime)
maximum
- lifetime in secondspublic long getMaxLifetime()
public boolean isAcceptClientLifetime()
public void setAcceptClientLifetime(boolean acceptClientLifetime)
public boolean isFailLifetimeExceedance()
public void setFailLifetimeExceedance(boolean failLifetimeExceedance)
public org.apache.wss4j.common.saml.bean.ConditionsBean getConditions(TokenProviderParameters providerParameters)
getConditions
in interface ConditionsProvider
protected List<org.apache.wss4j.common.saml.bean.AudienceRestrictionBean> createAudienceRestrictions(TokenProviderParameters providerParameters)
protected String extractAddressFromParticipantsEPR(Object participants)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |