wssSecurityProperties.getValidator(WSSConstants.TAG_wsse_BinarySecurityToken);
if (binarySecurityTokenValidator == null) {
binarySecurityTokenValidator = new BinarySecurityTokenValidatorImpl();
}
final InboundSecurityToken binarySecurityToken =
binarySecurityTokenValidator.validate(binarySecurityTokenType, tokenContext);
SecurityTokenProvider<InboundSecurityToken> securityTokenProvider = new SecurityTokenProvider<InboundSecurityToken>() {
@Override
public InboundSecurityToken getSecurityToken() throws XMLSecurityException {
return binarySecurityToken;