org.apache.ws.security.saml.ext.bean
Class ConditionsBean

java.lang.Object
  extended by org.apache.ws.security.saml.ext.bean.ConditionsBean

public class ConditionsBean
extends Object

Class ConditionsBean represents a SAML Conditions object (can be used to create both SAML v1.1 and v2.0 statements) Created on May 20, 2009


Constructor Summary
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.
 
Method Summary
 boolean equals(Object o)
          Method equals ...
 String getAudienceURI()
          Get the audienceURI instance
 org.joda.time.DateTime getNotAfter()
          Get the notAfter instance
 org.joda.time.DateTime getNotBefore()
          Get the notBefore instance
 int getTokenPeriodMinutes()
          Get the tokenPeriodMinutes of this object.
 int hashCode()
           
 void setAudienceURI(String audienceURI)
          Set the audienceURI instance
 void setNotAfter(org.joda.time.DateTime notAfter)
          Set the notAfter instance
 void setNotBefore(org.joda.time.DateTime notBefore)
          Set the notBefore instance
 void setTokenPeriodMinutes(int tokenPeriodMinutes)
          Set the tokenPeriodMinutes.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionsBean

public ConditionsBean()
Constructor ConditionsBean creates a new ConditionsBean instance.


ConditionsBean

public ConditionsBean(org.joda.time.DateTime notBefore,
                      org.joda.time.DateTime notAfter)
Constructor ConditionsBean creates a new ConditionsBean instance.

Parameters:
notBefore - The notBefore instance
notAfter - The notAfter instance

ConditionsBean

public ConditionsBean(int tokenPeriodMinutes)
Constructor ConditionsBean creates a new ConditionsBean instance.

Parameters:
tokenPeriodMinutes - how long the token is valid for in minutes
Method Detail

getNotBefore

public org.joda.time.DateTime getNotBefore()
Get the notBefore instance

Returns:
the notBefore instance

setNotBefore

public void setNotBefore(org.joda.time.DateTime notBefore)
Set the notBefore instance

Parameters:
notBefore - the notBefore instance to set

getNotAfter

public org.joda.time.DateTime getNotAfter()
Get the notAfter instance

Returns:
the notAfter instance

setNotAfter

public void setNotAfter(org.joda.time.DateTime notAfter)
Set the notAfter instance

Parameters:
notAfter - the notAfter instance to set

getTokenPeriodMinutes

public int getTokenPeriodMinutes()
Get the tokenPeriodMinutes of this object.

Returns:
the tokenPeriodMinutes (type int)

setTokenPeriodMinutes

public void setTokenPeriodMinutes(int tokenPeriodMinutes)
Set the tokenPeriodMinutes.

Parameters:
tokenPeriodMinutes - the tokenPeriodMinutes to set

getAudienceURI

public String getAudienceURI()
Get the audienceURI instance

Returns:
the audienceURI instance

setAudienceURI

public void setAudienceURI(String audienceURI)
Set the audienceURI instance

Parameters:
audienceURI - the audienceURI instance to set

equals

public boolean equals(Object o)
Method equals ...

Overrides:
equals in class Object
Parameters:
o - of type Object
Returns:
boolean

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Returns:
the hashcode of this object


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.