public class UserNamePasswordHandler
extends org.apache.cxf.ws.security.wss4j.AbstractUsernameTokenAuthenticatingInterceptor
AuthenticationManager
to verify the credentials. If no AuthenticationManager is present
no authentication will be enforced.SecuredNodeWorkerFactory
Constructor and Description |
---|
UserNamePasswordHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkReceiverResultsAnyOrder(List<org.apache.wss4j.dom.engine.WSSecurityEngineResult> wsResult,
List<Integer> actions) |
protected Subject |
createSubject(String name,
String password,
boolean isDigest,
String nonce,
String created) |
org.springframework.security.authentication.AuthenticationManager |
getAuthenticationManager() |
void |
handleMessage(org.apache.cxf.binding.soap.SoapMessage msg) |
void |
setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
doCreateSecurityContext, doResults, getSecurityEngine, getSupportDigestPasswords, setSubject, setSupportDigestPasswords
advanceBody, computeAction, configureReplayCaches, createSecurityEngine, getCallback, getCallback, getProperty, getReplayCache, isGET, isNonceCacheRequired, isSamlCacheRequired, isTimestampCacheRequired, setAlgorithmSuites, setIgnoreActions
getAdditionalInterceptors, getAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getRoles, getUnderstoodHeaders, handleFault, isRequestor, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperties, setProperty, setProperty, translateProperties
checkReceiverResults, checkSignatureConfirmation, decodeAlgorithmSuite, decodeBooleanConfigValue, decodeDecryptionParameter, decodeEncryptionParameter, decodeFutureTimeToLive, decodePasswordType, decodeSignatureParameter, decodeSignatureParameter2, decodeTimeToLive, decodeUTParameter, doReceiverAction, doSenderAction, getCallbackHandler, getClassLoader, getPasswordCallbackHandler, getPasswordCB, getPasswordEncryptor, getString, getStringOption, loadCrypto, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, loadSignatureVerificationCrypto
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg) throws org.apache.cxf.interceptor.Fault
handleMessage
in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
handleMessage
in class org.apache.cxf.ws.security.wss4j.AbstractUsernameTokenAuthenticatingInterceptor
org.apache.cxf.interceptor.Fault
protected boolean checkReceiverResultsAnyOrder(List<org.apache.wss4j.dom.engine.WSSecurityEngineResult> wsResult, List<Integer> actions)
checkReceiverResultsAnyOrder
in class org.apache.wss4j.dom.handler.WSHandler
protected Subject createSubject(String name, String password, boolean isDigest, String nonce, String created) throws SecurityException
createSubject
in class org.apache.cxf.ws.security.wss4j.AbstractUsernameTokenAuthenticatingInterceptor
SecurityException
public org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()
public void setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
Copyright © 2017 levigo holding gmbh. All rights reserved.