Package com.ibm.wsspi.security.token
Interface ValidationResult
public interface ValidationResult
This interface represents the successful result of validating an LTPA token.
Stack products may use the interface to validated token or to obtain the WAS representation of
the user id, realm name, etc.
Instances of this interface are created by the
WSSecurityPropagationHelper.validateToken( byte[] token )
operation.- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns true.
-
Method Details
-
requiresLogin
boolean requiresLogin()This method returns true. -
getUniqueId
String getUniqueId()- Returns:
- the WAS unique id obtained by validating the token.
-
getUserFromUniqueId
String getUserFromUniqueId()- Returns:
- the WAS user id extracted from the WAS unique id.
-
getRealmFromUniqueId
String getRealmFromUniqueId()- Returns:
- the WAS realm name extracted from the WAS unique id.
-