@Named(value="crowdGrantedAuthoritiesMapper") @Singleton public class CrowdGrantedAuthoritiesMapper extends Object implements org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper, Serializable
AppAuthority
rolesConstructor and Description |
---|
CrowdGrantedAuthoritiesMapper() |
Modifier and Type | Method and Description |
---|---|
Collection<org.springframework.security.core.GrantedAuthority> |
mapAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Mapping interface which can be injected into the authentication layer to convert the
authorities loaded from storage into those which will be used in the
Authentication object. |
public Collection<org.springframework.security.core.GrantedAuthority> mapAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Authentication
object.mapAuthorities
in interface org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper
Copyright © 2011–2016 eXo Platform SAS. All rights reserved.