com.atlassian.crowd.manager.token.factory
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 © 2012 Atlassian. All Rights Reserved.