com.atlassian.crowd.authentication
Interface TokenKeyGenerator
- All Known Implementing Classes:
- TokenKeyGeneratorImpl
public interface TokenKeyGenerator
Handles the creation of a 'random' token key
generateKey
String generateKey(long directoryID,
String name,
List<ValidationFactor> validationFactors)
throws InvalidTokenException
- Creates a String that will be used by a
Token as its key.
This 'key' will be based on the passed in parameters.
- Parameters:
directoryID - name - validationFactors -
- Returns:
- a base 64 encoded String reprentation of the passed in attributes
- Throws:
InvalidTokenException
Copyright © 2010 Atlassian Pty Ltd. All Rights Reserved.