org.opensaml.common.binding.security
Class IssueInstantRuleFactory

java.lang.Object
  extended by org.opensaml.common.binding.security.IssueInstantRuleFactory
All Implemented Interfaces:
SecurityPolicyRuleFactory<javax.servlet.ServletRequest>

public class IssueInstantRuleFactory
extends java.lang.Object
implements SecurityPolicyRuleFactory<javax.servlet.ServletRequest>

Security policy rule factory implementation that generates rules which check for validity of SAML message issue instant date and time.


Nested Class Summary
 class IssueInstantRuleFactory.IssueInstantRule
          Security policy rule implementation that which checks for validity of SAML message issue instant date and time.
 
Constructor Summary
IssueInstantRuleFactory()
           
 
Method Summary
 SecurityPolicyRule<javax.servlet.ServletRequest> createRuleInstance()
          Creates an instance of a policy rule.
 int getClockSkew()
          Get the clock skew, in seconds.
 int getExpires()
          Get the issue instant expiration, in seconds from time of issuance.
 void setClockSkew(int newClockSkew)
          Set the clock skew, in seconds.
 void setExpires(int newExpires)
          Set the issue instant expiration, in seconds from time of issuance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueInstantRuleFactory

public IssueInstantRuleFactory()
Method Detail

getClockSkew

public int getClockSkew()
Get the clock skew, in seconds.

Returns:
the clock skew.

setClockSkew

public void setClockSkew(int newClockSkew)
Set the clock skew, in seconds.

Parameters:
newClockSkew - the new clock skew to set.

getExpires

public int getExpires()
Get the issue instant expiration, in seconds from time of issuance.

Returns:
the expiration in seconds

setExpires

public void setExpires(int newExpires)
Set the issue instant expiration, in seconds from time of issuance.

Parameters:
newExpires - the expiration in seconds

createRuleInstance

public SecurityPolicyRule<javax.servlet.ServletRequest> createRuleInstance()
Creates an instance of a policy rule.

Specified by:
createRuleInstance in interface SecurityPolicyRuleFactory<javax.servlet.ServletRequest>
Returns:
an instance of a policy rule