public class IdentityServiceRemoteUserMapper extends Object implements RemoteUserMapper, ActivateableBean
RemoteUserMapper implementation that detects and validates JWTs
issued by the Alfresco Identity Service.| Constructor and Description |
|---|
IdentityServiceRemoteUserMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRemoteUser(javax.servlet.http.HttpServletRequest request)
Gets an externally authenticated user ID from an HTTP request.
|
boolean |
isActive()
Determines whether this bean is active.
|
void |
setActive(boolean isEnabled)
Sets the active flag
|
void |
setIdentityServiceDeployment(org.keycloak.adapters.KeycloakDeployment deployment) |
void |
setPersonService(PersonService personService)
Sets the person service.
|
void |
setValidationFailureSilent(boolean silent)
Determines whether token validation failures are silent
|
public void setActive(boolean isEnabled)
isEnabled - true to enable the subsystempublic void setValidationFailureSilent(boolean silent)
silent - true to silently fail, false to throw an exceptionpublic void setPersonService(PersonService personService)
personService - the person servicepublic void setIdentityServiceDeployment(org.keycloak.adapters.KeycloakDeployment deployment)
public String getRemoteUser(javax.servlet.http.HttpServletRequest request)
RemoteUserMappergetRemoteUser in interface RemoteUserMapperrequest - the requestnull if the user is unauthenticatedpublic boolean isActive()
ActivateableBeanisActive in interface ActivateableBeantrue if this bean is activeCopyright © 2005–2018 Alfresco Software. All rights reserved.