public interface Authentication extends Serializable
Authentication represents an authentication request and contains authentication information if the request was
successful.
Implementations must be immutable.
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials() |
Object |
getPrincipal() |
Map<String,Object> |
getProperties() |
Authentication |
setProperties(Map<String,Object> properties)
Makes a copy of this
Authentication with the passed properties set. |
Object getCredentials()
this AuthenticationObject getPrincipal()
this Authentication (ie, the User for BasicAuth, the Subject for SAML, etc)Map<String,Object> getProperties()
this AuthenticationAuthentication setProperties(Map<String,Object> properties)
Authentication with the passed properties set.properties - a group of properties available for the returned Authentication. MAy be nullCopyright © 2017 MuleSoft, Inc.. All rights reserved.