Constructor and Description |
---|
JAASUsernameTokenValidator() |
Modifier and Type | Method and Description |
---|---|
protected CallbackHandler |
getCallbackHandler(String name,
String password) |
String |
getContextName() |
void |
setContextName(String name) |
Credential |
validate(Credential credential,
RequestData data)
Validate the credential argument.
|
public void setContextName(String name)
public String getContextName()
public Credential validate(Credential credential, RequestData data) throws WSSecurityException
validate
in interface Validator
credential
- the Credential to be validateddata
- the RequestData associated with the requestWSSecurityException
- on a failed validationprotected CallbackHandler getCallbackHandler(String name, String password)
Copyright © 2017 JBoss by Red Hat. All rights reserved.