org.jasig.cas.authentication.principal
Class ShibbolethCompatiblePersistentIdGenerator
java.lang.Object
org.jasig.cas.authentication.principal.ShibbolethCompatiblePersistentIdGenerator
- All Implemented Interfaces:
- PersistentIdGenerator
public final class ShibbolethCompatiblePersistentIdGenerator
- extends Object
- implements PersistentIdGenerator
Generates PersistentIds based on the Shibboleth algorithm.
- Since:
- 3.1
- Version:
- $Revision: 1.1 $ $Date: 2007/04/20 19:39:31 $
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShibbolethCompatiblePersistentIdGenerator
public ShibbolethCompatiblePersistentIdGenerator()
generate
public String generate(Principal principal,
Service service)
- Description copied from interface:
PersistentIdGenerator
- Generates a PersistentId based on some algorithm plus the principal and
service.
- Specified by:
generate in interface PersistentIdGenerator
- Parameters:
principal - the principal to generate the id for.service - the service to generate the id for.
- Returns:
- the generated persistent id.
setSalt
public void setSalt(String salt)
Copyright © 2004-2013 Jasig. All Rights Reserved.