public final class AuthStatusUtils extends Object
AuthStatus
values.Modifier and Type | Method and Description |
---|---|
static String |
asString(javax.security.auth.message.AuthStatus authStatus)
Converts the given
AuthStatus into its String representation. |
static boolean |
isFailure(javax.security.auth.message.AuthStatus authStatus)
Returns
true if the given AuthStatus value is AuthStatus.FAILURE . |
static boolean |
isNull(javax.security.auth.message.AuthStatus authStatus)
Returns
true if the given AuthStatus value is null . |
static boolean |
isSendContinue(javax.security.auth.message.AuthStatus authStatus)
Returns
true if the given AuthStatus value is AuthStatus.SEND_CONTINUE . |
static boolean |
isSendFailure(javax.security.auth.message.AuthStatus authStatus)
Returns
true if the given AuthStatus value is AuthStatus.SEND_FAILURE . |
static boolean |
isSendSuccess(javax.security.auth.message.AuthStatus authStatus)
Returns
true if the given AuthStatus value is AuthStatus.SEND_SUCCESS . |
static boolean |
isSuccess(javax.security.auth.message.AuthStatus authStatus)
Returns
true if the given AuthStatus value is AuthStatus.SUCCESS . |
public static String asString(javax.security.auth.message.AuthStatus authStatus)
AuthStatus
into its String
representation.authStatus
- The AuthStatus
.public static boolean isSuccess(javax.security.auth.message.AuthStatus authStatus)
true
if the given AuthStatus
value is AuthStatus.SUCCESS
.authStatus
- The AuthStatus
value.true
if the given AuthStatus
value is AuthStatus.SUCCESS
.public static boolean isSendSuccess(javax.security.auth.message.AuthStatus authStatus)
true
if the given AuthStatus
value is AuthStatus.SEND_SUCCESS
.authStatus
- The AuthStatus
value.true
if the given AuthStatus
value is AuthStatus.SEND_SUCCESS
.public static boolean isSendContinue(javax.security.auth.message.AuthStatus authStatus)
true
if the given AuthStatus
value is AuthStatus.SEND_CONTINUE
.authStatus
- The AuthStatus
value.true
if the given AuthStatus
value is AuthStatus.SEND_CONTINUE
.public static boolean isSendFailure(javax.security.auth.message.AuthStatus authStatus)
true
if the given AuthStatus
value is AuthStatus.SEND_FAILURE
.authStatus
- The AuthStatus
value.true
if the given AuthStatus
value is AuthStatus.SEND_FAILURE
.public static boolean isFailure(javax.security.auth.message.AuthStatus authStatus)
true
if the given AuthStatus
value is AuthStatus.FAILURE
.authStatus
- The AuthStatus
value.true
if the given AuthStatus
value is AuthStatus.FAILURE
.public static boolean isNull(javax.security.auth.message.AuthStatus authStatus)
true
if the given AuthStatus
value is null
.authStatus
- The AuthStatus
value.true
if the given AuthStatus
value is null
.Copyright © 2010-2018, ForgeRock All Rights Reserved.