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 determine if a JAAS login is necessary for the 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
    Version:
    7.0.0
    • Method Detail

      • requiresLogin

        boolean requiresLogin()
        Returns:
        true if the result of validating the token indicates a JAAS login is required.
      • 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.
IBM WebSphere Application ServerTM
Release 8.5