Interface SOAPProviderConfig
-
public interface SOAPProviderConfigThis interface is used to read the SOAP Provider configuration from various configuration stores.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebServiceAuthenticatorgetAuthenticator()Returns Web service authenticator implementation.SetgetSupportedAuthenticationMechanisms()Returns supported authentication mechanisms.booleanisRequestAuthEnabled()Checks is the request authentication is enabled.booleanisResponseSignEnabled()Checks if the SOAP response needs to be signed.voidsetRequestAuthEnabled(boolean signRequired)Sets the request authentication enabled.voidsetResponseSignEnabled(boolean signRequired)Sets the response signing enabled.voidsetSupportedAuthenticationMechanisms(Set authMechs)Sets the supported authentication mechanisms.
-
-
-
Method Detail
-
getSupportedAuthenticationMechanisms
Set getSupportedAuthenticationMechanisms()
Returns supported authentication mechanisms.- Returns:
- Set set of supported authentication mechanisms.
-
setSupportedAuthenticationMechanisms
void setSupportedAuthenticationMechanisms(Set authMechs)
Sets the supported authentication mechanisms.- Parameters:
authMechs- Set of liberty authentication mechanisms.
-
getAuthenticator
WebServiceAuthenticator getAuthenticator()
Returns Web service authenticator implementation.- Returns:
- WebServiceAuthenticator Authenticator implementation.
-
isResponseSignEnabled
boolean isResponseSignEnabled()
Checks if the SOAP response needs to be signed.- Returns:
- true if signing is required.
-
isRequestAuthEnabled
boolean isRequestAuthEnabled()
Checks is the request authentication is enabled.- Returns:
- true if the request authentication is required.
-
setResponseSignEnabled
void setResponseSignEnabled(boolean signRequired)
Sets the response signing enabled.- Parameters:
signRequired- boolean variable to enable response signing.
-
setRequestAuthEnabled
void setRequestAuthEnabled(boolean signRequired)
Sets the request authentication enabled.- Parameters:
signRequired- boolean variable to enable request authentication.
-
-