public class UPBSTValidator extends Object implements org.apache.cxf.sts.token.validator.TokenValidator
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.apache.wss4j.dom.validate.Validator> |
validators |
Constructor and Description |
---|
UPBSTValidator(Parser parser,
FailedLoginDelayer failedLoginDelayer) |
Modifier and Type | Method and Description |
---|---|
void |
addRealm(org.osgi.framework.ServiceReference<org.apache.karaf.jaas.config.JaasRealm> serviceReference) |
boolean |
canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget)
Return true if this TokenValidator implementation is capable of validating the ReceivedToken
argument.
|
boolean |
canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget,
String cxfRealm)
Return true if this TokenValidator implementation is capable of validating the ReceivedToken
argument.
|
org.apache.cxf.ws.security.sts.provider.model.secext.UsernameTokenType |
getUsernameTokenType(UPAuthenticationToken token) |
void |
removeRealm(org.osgi.framework.ServiceReference<org.apache.karaf.jaas.config.JaasRealm> serviceReference) |
org.apache.cxf.sts.token.validator.TokenValidatorResponse |
validateToken(org.apache.cxf.sts.token.validator.TokenValidatorParameters tokenParameters)
Validate a Token using the given TokenValidatorParameters.
|
public UPBSTValidator(Parser parser, FailedLoginDelayer failedLoginDelayer)
public void addRealm(org.osgi.framework.ServiceReference<org.apache.karaf.jaas.config.JaasRealm> serviceReference)
public void removeRealm(org.osgi.framework.ServiceReference<org.apache.karaf.jaas.config.JaasRealm> serviceReference)
public boolean canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget)
canHandleToken
in interface org.apache.cxf.sts.token.validator.TokenValidator
validateTarget
- public boolean canHandleToken(org.apache.cxf.sts.request.ReceivedToken validateTarget, String cxfRealm)
canHandleToken
in interface org.apache.cxf.sts.token.validator.TokenValidator
validateTarget
- cxfRealm
- public org.apache.cxf.sts.token.validator.TokenValidatorResponse validateToken(org.apache.cxf.sts.token.validator.TokenValidatorParameters tokenParameters)
validateToken
in interface org.apache.cxf.sts.token.validator.TokenValidator
tokenParameters
- public org.apache.cxf.ws.security.sts.provider.model.secext.UsernameTokenType getUsernameTokenType(UPAuthenticationToken token)
This work is licensed under a Creative Commons Attribution 4.0 International License.