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 java.lang.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.

Since:
3.0
Version:
$Revision: 42776 $ $Date: 2008-01-04 09:15:42 -0500 (Fri, 04 Jan 2008) $
Author:
Scott

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

Constructor Detail

SamlCompliantUniqueTicketIdGenerator

public SamlCompliantUniqueTicketIdGenerator(java.lang.String sourceId)
Method Detail

getNewTicketId

public java.lang.String getNewTicketId(java.lang.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


Copyright © 2004-2009 Java Architectures Special Interest Group. All Rights Reserved.