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 theWSSecurityPropagationHelper.validateToken( byte[] token )
operation.- Since:
- 7.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getRealmFromUniqueId()
java.lang.String
getUniqueId()
java.lang.String
getUserFromUniqueId()
boolean
requiresLogin()
This method returns true.
-
-
-
Method Detail
-
requiresLogin
boolean requiresLogin()
This method returns true.
-
getUniqueId
java.lang.String getUniqueId()
- Returns:
- the WAS unique id obtained by validating the token.
-
getUserFromUniqueId
java.lang.String getUserFromUniqueId()
- Returns:
- the WAS user id extracted from the WAS unique id.
-
getRealmFromUniqueId
java.lang.String getRealmFromUniqueId()
- Returns:
- the WAS realm name extracted from the WAS unique id.
-
-