com.atlassian.crowd.manager.token.factory
Interface TokenKeyGenerator

All Known Implementing Classes:
TokenKeyGeneratorImpl

public interface TokenKeyGenerator

Handles the creation of a 'random' token key


Method Summary
 String generateKey(long directoryID, String name, List<ValidationFactor> validationFactors)
          Creates a String that will be used by a Token as its key.
 

Method Detail

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 © 2013 Atlassian. All Rights Reserved.