com.atlassian.crowd.authentication
Interface TokenKeyGenerator
- All Known Implementing Classes:
- TokenKeyGeneratorImpl
public interface TokenKeyGenerator
Handles the creation of a 'random' token key
Method Summary |
java.lang.String |
generateKey(long directoryID,
java.lang.String name,
java.util.List<ValidationFactor> validationFactors)
Creates a String that will be used by a Token as its key. |
generateKey
java.lang.String generateKey(long directoryID,
java.lang.String name,
java.util.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 © 2009 Atlassian Pty Ltd. All Rights Reserved.