public interface Authentication extends Serializable
Authentication represents an authentication request and contains authentication information
if the request was successful.| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials() |
Object |
getPrincipal() |
Map<String,Object> |
getProperties() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean authenticated) |
void |
setProperties(Map<String,Object> properties) |
void setAuthenticated(boolean authenticated)
authenticated - true if this Authentication has been authenticatedboolean isAuthenticated()
true if this Authentication has been authenticatedObject getCredentials()
this AuthenticationObject getPrincipal()
this Authentication (ie, the User for BasicAuth, the Subject for SAML, etc)Map<String,Object> getProperties()
this Authenticationvoid setProperties(Map<String,Object> properties)
properties - a group of properties available for this AuthenticationCopyright © 2017 MuleSoft, Inc.. All rights reserved.