Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social


oracle.security.idaas.rest.common
Interface TokenValueFormatHelper


public interface TokenValueFormatHelper

A helper class used to parse and set properties of a token.

A Token object can be constructed with just the token value (string) without any validation, parsing of the token value.

Alternativley, a Token can be constructed with the token value and a TokenValueFormatHelper. During the construction, this TokenValueFormatHelper will be invoked to retrieve the token value (through Token.getTokenValue() method) and parse / validate the token value and set the properties values at the Token object accordingly.

Typically, a Token Service can maintain a per-Token-Service Singleton of this TokenFormatValueHelper object instance.


Method Summary
 void parseTokenValueAndSetProperties(Token token)
          parse, validate the token value of the token and set the properties of the token

 

Method Detail

parseTokenValueAndSetProperties

void parseTokenValueAndSetProperties(Token token)
                                     throws InvalidToken
parse, validate the token value of the token and set the properties of the token
Parameters:
token - the Token object being parsed and set with properties value
Throws:
InvalidToken

Skip navigation links

Copyright (c) 2012,
Oracle All Rights Reserved.
Built 06/05/2012 17:18:07 PDT