com.sun.identity.authentication.spi
クラス InvalidPasswordException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.security.GeneralSecurityException
              上位を拡張 javax.security.auth.login.LoginException
                  上位を拡張 com.sun.identity.authentication.spi.AuthLoginException
                      上位を拡張 com.sun.identity.authentication.spi.InvalidPasswordException

public class InvalidPasswordException
extends AuthLoginException

Exception that is thrown when the user-entered password token causes the authentication module to be authenticated to fail. Authentication module must throw this exception if it wishes to participate in user lock out due to too many password failure login feature. Prior to throwing this exception, the authentication module should set the userTokenId so that subsequent calls to getUserTokenId will return correct userTokenId that will be use to lock out the user.

関連項目:
直列化された形式

コンストラクタの概要
InvalidPasswordException(String message)
          Constructs an InvalidPasswordException object.
InvalidPasswordException(String message, String tokenId)
          Constructs an InvalidPasswordException object.
InvalidPasswordException(String rbName, String errCode, Object[] args)
          Constructs an InvalidPasswordException object.
InvalidPasswordException(String rbName, String errorCode, Object[] args, String tokenId, Throwable t)
          Constructs an InvalidPasswordException object.
InvalidPasswordException(Throwable t)
          Constructs an InvalidPasswordException object.
 
メソッドの概要
 String getTokenId()
          Returns the token ID.
 
クラス com.sun.identity.authentication.spi.AuthLoginException から継承されたメソッド
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, printStackTrace, printStackTrace, printStackTrace
 

コンストラクタの詳細

InvalidPasswordException

public InvalidPasswordException(String rbName,
                                String errCode,
                                Object[] args)
Constructs an InvalidPasswordException object.

パラメータ:
rbName - Resource bundle name for the message.
errCode - Key to the message in resource bundle.
args - Arguments to the message.

InvalidPasswordException

public InvalidPasswordException(String message)
Constructs an InvalidPasswordException object.

パラメータ:
message - English message for the exception.

InvalidPasswordException

public InvalidPasswordException(String message,
                                String tokenId)
Constructs an InvalidPasswordException object.

パラメータ:
message - English message for the exception.
tokenId - The userId for which the exception occurred.

InvalidPasswordException

public InvalidPasswordException(Throwable t)
Constructs an InvalidPasswordException object.

パラメータ:
t - the root cause of the exception

InvalidPasswordException

public InvalidPasswordException(String rbName,
                                String errorCode,
                                Object[] args,
                                String tokenId,
                                Throwable t)
Constructs an InvalidPasswordException object.

パラメータ:
rbName - Resource bundle name for the message.
errorCode - Key to the message in resource bundle.
args - Arguments to the message.
tokenId - userID for which the exception occurred.
t - The root cause of the exception.
メソッドの詳細

getTokenId

public String getTokenId()
Returns the token ID.

戻り値:
the token ID.