public class ConditionsBean extends Object
Constructor and Description |
---|
ConditionsBean()
Constructor ConditionsBean creates a new ConditionsBean instance.
|
ConditionsBean(org.joda.time.DateTime notBefore,
org.joda.time.DateTime notAfter)
Constructor ConditionsBean creates a new ConditionsBean instance.
|
ConditionsBean(int tokenPeriodMinutes)
Constructor ConditionsBean creates a new ConditionsBean instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Method equals ...
|
List<AudienceRestrictionBean> |
getAudienceRestrictions()
Get the audienceRestrictions instances
|
String |
getAudienceURI()
Deprecated.
|
org.joda.time.DateTime |
getNotAfter()
Get the notAfter instance
|
org.joda.time.DateTime |
getNotBefore()
Get the notBefore instance
|
ProxyRestrictionBean |
getProxyRestriction() |
int |
getTokenPeriodMinutes()
Get the tokenPeriodMinutes of this object.
|
int |
hashCode() |
boolean |
isOneTimeUse()
Get whether to include a OneTimeUse Element or not.
|
void |
setAudienceRestrictions(List<AudienceRestrictionBean> audienceRestrictions)
Set the audienceRestrictions instance
|
void |
setAudienceURI(String audienceURI)
Deprecated.
|
void |
setNotAfter(org.joda.time.DateTime notAfter)
Set the notAfter instance
|
void |
setNotBefore(org.joda.time.DateTime notBefore)
Set the notBefore instance
|
void |
setOneTimeUse(boolean oneTimeUse)
Set whether to include a OneTimeUse Element or not.
|
void |
setProxyRestriction(ProxyRestrictionBean proxyRestriction) |
void |
setTokenPeriodMinutes(int tokenPeriodMinutes)
Set the tokenPeriodMinutes.
|
public ConditionsBean()
public ConditionsBean(org.joda.time.DateTime notBefore, org.joda.time.DateTime notAfter)
notBefore
- The notBefore instancenotAfter
- The notAfter instancepublic ConditionsBean(int tokenPeriodMinutes)
tokenPeriodMinutes
- how long the token is valid for in minutespublic org.joda.time.DateTime getNotBefore()
public void setNotBefore(org.joda.time.DateTime notBefore)
notBefore
- the notBefore instance to setpublic org.joda.time.DateTime getNotAfter()
public void setNotAfter(org.joda.time.DateTime notAfter)
notAfter
- the notAfter instance to setpublic int getTokenPeriodMinutes()
public void setTokenPeriodMinutes(int tokenPeriodMinutes)
tokenPeriodMinutes
- the tokenPeriodMinutes to set@Deprecated public String getAudienceURI()
@Deprecated public void setAudienceURI(String audienceURI)
audienceURI
- the audienceURI instance to setpublic List<AudienceRestrictionBean> getAudienceRestrictions()
public void setAudienceRestrictions(List<AudienceRestrictionBean> audienceRestrictions)
audienceRestrictions
- the audienceRestrictions instance to setpublic boolean isOneTimeUse()
public void setOneTimeUse(boolean oneTimeUse)
oneTimeUse
- whether to include a OneTimeUse Element or not.public ProxyRestrictionBean getProxyRestriction()
public void setProxyRestriction(ProxyRestrictionBean proxyRestriction)
public boolean equals(Object o)
Copyright © 2018 JBoss by Red Hat. All rights reserved.