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 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.