com.ibm.wsspi.security.token

Interface ValidationResult


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

Modifier and Type Method and Description
  1. java.lang.String
getRealmFromUniqueId()
  1. java.lang.String
getUniqueId()
  1. java.lang.String
getUserFromUniqueId()
  1. boolean
requiresLogin()

Method Detail

requiresLogin

  1. boolean requiresLogin()
Returns:
true if the result of validating the token indicates a JAAS login is required.

getUniqueId

  1. java.lang.String getUniqueId()
Returns:
the WAS unique id obtained by validating the token

getUserFromUniqueId

  1. java.lang.String getUserFromUniqueId( )
Returns:
the WAS user id extracted from the WAS unique id.

getRealmFromUniqueId

  1. java.lang.String getRealmFromUniqueId( )
Returns:
the WAS realm name extracted from the WAS unique id.