org.jasig.cas.authentication.principal
Interface PersistentIdGenerator

All Known Implementing Classes:
ShibbolethCompatiblePersistentIdGenerator

public interface PersistentIdGenerator

Generates a unique consistant Id based on the principal, a service, and some algorithm.

Since:
3.1
Version:
$Revision: 1.1 $ $Date: 2007/04/20 19:39:31 $
Author:
Scott Battaglia

Method Summary
 java.lang.String generate(Principal principal, Service service)
          Generates a PersistentId based on some algorithm plus the principal and service.
 

Method Detail

generate

java.lang.String generate(Principal principal,
                          Service service)
Generates a PersistentId based on some algorithm plus the principal and service.

Parameters:
principal - the principal to generate the id for.
service - the service to generate the id for.
Returns:
the generated persistent id.


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