Package com.ibm.wsspi.security.token
Class WSSecurityPropagationHelper
- java.lang.Object
-
- com.ibm.wsspi.security.token.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 Summary
Constructors Constructor Description WSSecurityPropagationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValidationResult
validateToken(byte[] token)
This method validates an LTPA token and will return a ValidationResult object.
-
-
-
Method Detail
-
validateToken
public static ValidationResult validateToken(byte[] token) throws com.ibm.websphere.security.auth.ValidationFailedException
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
-
-