Class CustomTokenClient


  • public class CustomTokenClient
    extends Object
    Client class to retrieve customize tokens.
    • Field Detail

      • PORTBASE_PLACE_HOLDER

        public static final String PORTBASE_PLACE_HOLDER
        Place holder for the PORT BASE value in domain.xml
        See Also:
        Constant Field Values
      • CUSTOM_TOKEN_PLACE_HOLDER

        public static final String CUSTOM_TOKEN_PLACE_HOLDER
        Place holder for the custom tokens in domain.xml
        See Also:
        Constant Field Values
    • Constructor Detail

      • CustomTokenClient

        public CustomTokenClient​(DomainConfig domainConfig)
    • Method Detail

      • getSubstitutableTokens

        public Map<String,​String> getSubstitutableTokens()
                                                        throws DomainException
        Gets the substitutable custom tokens.
        Returns:
        Map of substitutable tokens, or empty Map if no custom token found.
        Throws:
        DomainException - If error occurred in retrieving the custom tokens.