public interface AuthenticationHandler
Authentication request.| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.security.Authentication |
createAuthentication(org.mule.runtime.api.security.Credentials credentials) |
org.mule.runtime.api.security.CredentialsBuilder |
createCredentialsBuilder() |
org.mule.runtime.api.security.Authentication |
getAuthentication() |
void |
setAuthentication(org.mule.runtime.api.security.Authentication authentication)
Updates the current context with the given
Authentication information. |
void |
setAuthentication(List<String> securityProviders,
org.mule.runtime.api.security.Authentication authentication)
Updates the current context with the given
Authentication information. |
void setAuthentication(org.mule.runtime.api.security.Authentication authentication)
throws org.mule.runtime.api.security.SecurityProviderNotFoundException,
org.mule.runtime.api.security.SecurityException,
org.mule.runtime.api.security.UnknownAuthenticationTypeException
Authentication information.authentication - the Authentication used for setting up the new security contextorg.mule.runtime.api.security.SecurityProviderNotFoundException - if no security provider able to authenticate the given authentication is foundorg.mule.runtime.api.security.SecurityException - if an error occurs during the update of the security contextorg.mule.runtime.api.security.UnknownAuthenticationTypeException - if no security provider able to handle the given authentication is foundvoid setAuthentication(List<String> securityProviders, org.mule.runtime.api.security.Authentication authentication) throws org.mule.runtime.api.security.SecurityProviderNotFoundException, org.mule.runtime.api.security.SecurityException, org.mule.runtime.api.security.UnknownAuthenticationTypeException
Authentication information.securityProviders - the List of security providers that will be added to the SecurityManagerauthentication - the Authentication used for setting up the new security contextorg.mule.runtime.api.security.SecurityProviderNotFoundException - if no security provider able to authenticate the given authentication is foundorg.mule.runtime.api.security.SecurityException - if an error occurs during the update of the security contextorg.mule.runtime.api.security.UnknownAuthenticationTypeException - if no security provider able to handle the given authentication is foundorg.mule.runtime.api.security.Authentication getAuthentication()
Authentication in the current contextorg.mule.runtime.api.security.Authentication createAuthentication(org.mule.runtime.api.security.Credentials credentials)
credentials - the Credentials to be used for this AuthenticationAuthenticationorg.mule.runtime.api.security.CredentialsBuilder createCredentialsBuilder()
CredentialsBuilderCopyright © 2017 MuleSoft, Inc.. All rights reserved.