@NoImplement @MinMuleVersion(value="4.5.0") public interface AuthenticationHandler
Authentication request.| Modifier and Type | Method and Description |
|---|---|
Authentication |
createAuthentication(Credentials credentials) |
CredentialsBuilder |
createCredentialsBuilder() |
Optional<Authentication> |
getAuthentication() |
void |
setAuthentication(Authentication authentication)
Updates the current context with the given
Authentication information. |
void |
setAuthentication(List<String> securityProviders,
Authentication authentication)
Updates the current context with the given
Authentication information. |
void setAuthentication(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, 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 foundOptional<Authentication> getAuthentication()
Authentication in the current contextAuthentication createAuthentication(Credentials credentials)
credentials - the Credentials to be used for this AuthenticationAuthenticationCredentialsBuilder createCredentialsBuilder()
CredentialsBuilderCopyright © 2023. All rights reserved.