public class AuthPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AFTER_CONTENT |
static String |
BEFORE_CONTENT |
static String |
CONTENT |
static String |
SENDER |
static int |
SOURCE_AUTH_CONTENT |
static int |
SOURCE_AUTH_NONE |
static int |
SOURCE_AUTH_SENDER |
Constructor and Description |
---|
AuthPolicy() |
AuthPolicy(int sourceAuthenticationType,
boolean authenticateRecipient,
boolean beforeContent) |
AuthPolicy(javax.security.auth.message.MessagePolicy messagePolicy) |
Modifier and Type | Method and Description |
---|---|
boolean |
authRequired() |
boolean |
equals(Object o) |
int |
getSourceAuth() |
int |
hashCode() |
boolean |
isContentAuthRequired() |
boolean |
isRecipientAuthBeforeContent() |
boolean |
isRecipientAuthBeforeContent(boolean orderForValidation) |
boolean |
isRecipientAuthRequired() |
boolean |
isSenderAuthRequired() |
boolean |
isSourceAuthRequired() |
void |
setContentAuth(boolean required) |
void |
setRecipientAuth(boolean required,
boolean beforeContent) |
void |
setSenderAuth(boolean required) |
void |
setSourceAuth(int sourceAuthenticationType) |
String |
toString() |
public static final int SOURCE_AUTH_NONE
public static final int SOURCE_AUTH_SENDER
public static final int SOURCE_AUTH_CONTENT
public static final String SENDER
public static final String CONTENT
public static final String BEFORE_CONTENT
public static final String AFTER_CONTENT
public AuthPolicy()
public AuthPolicy(int sourceAuthenticationType, boolean authenticateRecipient, boolean beforeContent)
public AuthPolicy(javax.security.auth.message.MessagePolicy messagePolicy)
public void setSourceAuth(int sourceAuthenticationType)
public void setContentAuth(boolean required)
public void setSenderAuth(boolean required)
public void setRecipientAuth(boolean required, boolean beforeContent)
public int getSourceAuth()
public boolean authRequired()
public boolean isSourceAuthRequired()
public boolean isSenderAuthRequired()
public boolean isContentAuthRequired()
public boolean isRecipientAuthRequired()
public boolean isRecipientAuthBeforeContent()
public boolean isRecipientAuthBeforeContent(boolean orderForValidation)
Copyright © 2021. All rights reserved.