Class Token


  • public class Token
    extends Object
    Class containing static methods that first instantiate a class for token generation based on configuration and using it for generating internal tokens.
    • Constructor Detail

      • Token

        public Token()
    • Method Detail

      • createToken

        public static Object createToken​(String name,
                                         String password)
        Generates internal token given a name.
        Parameters:
        name - a String representing the name to be used for the token.
        password - password for user
        Returns:
        SSOToken that is casted to Object