org.jasig.cas.util
Class SamlCompliantUniqueTicketIdGenerator

java.lang.Object
  extended by org.jasig.cas.util.SamlCompliantUniqueTicketIdGenerator
All Implemented Interfaces:
UniqueTicketIdGenerator

public final class SamlCompliantUniqueTicketIdGenerator
extends Object
implements UniqueTicketIdGenerator

Unique Ticket Id Generator compliant with the SAML 1.1 specification for artifacts. This should also be compliant with the SAML 2 specification.

Default to SAML 1.1 Compliance.

Since:
3.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Constructor Summary
SamlCompliantUniqueTicketIdGenerator(String sourceId)
           
 
Method Summary
 String getNewTicketId(String prefix)
          We ignore prefixes for SAML compliance.
 void setSaml2compliant(boolean saml2compliant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamlCompliantUniqueTicketIdGenerator

public SamlCompliantUniqueTicketIdGenerator(String sourceId)
Method Detail

getNewTicketId

public String getNewTicketId(String prefix)
We ignore prefixes for SAML compliance.

Specified by:
getNewTicketId in interface UniqueTicketIdGenerator
Parameters:
prefix - The prefix we want attached to the ticket.
Returns:
the unique ticket id

setSaml2compliant

public void setSaml2compliant(boolean saml2compliant)


Copyright © 2004-2013 Jasig. All Rights Reserved.