Class WSSecurityPropagationHelper


  • public class WSSecurityPropagationHelper
    extends java.lang.Object
    This class provides some helper methods to retrieve the user information from an LTPA token.
    Since:
    5.1.1
    • Constructor Detail

      • WSSecurityPropagationHelper

        public WSSecurityPropagationHelper()
    • Method Detail

      • validateToken

        @Deprecated
        public static ValidationResult validateToken​(byte[] token)
                                              throws com.ibm.websphere.security.auth.ValidationFailedException
        Deprecated.

        This method validates an LTPA token and will return a ValidationResult object. If the token cannot be validated, is expired or null, a ValidationFailedException will be thrown.

        The validateToken API requires a Java 2 Security permission, WebSphereRuntimePermission "validateLTPAToken".
        Parameters:
        byte - [] (LtpaToken2)
        Returns:
        ValidationResult
        Throws:
        com.ibm.websphere.security.auth.ValidationFailedException