|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GrantedAuthority | |
---|---|
org.springframework.security.access.hierarchicalroles | Role hierarchy implementation. |
org.springframework.security.access.intercept | Abstract level security interception classes which are responsible for enforcing the configured security constraints for a secure object. |
org.springframework.security.acls.domain | Basic implementation of access control lists (ACLs) interfaces. |
org.springframework.security.authentication | Core classes and interfaces related to user authentication, which are used throughout Spring Security. |
org.springframework.security.authentication.jaas | An authentication provider for JAAS. |
org.springframework.security.authentication.rcp | Allows remote clients to authenticate and obtain a populated Authentication object. |
org.springframework.security.cas.authentication | An AuthenticationProvider that can process CAS service tickets and proxy tickets. |
org.springframework.security.core | Core classes and interfaces related to user authentication and authorization, as well as the maintenance of a security context. |
org.springframework.security.core.authority | The default implementation of the GrantedAuthority interface. |
org.springframework.security.core.authority.mapping | Strategies for mapping a list of attributes (such as roles or LDAP groups) to a list of
GrantedAuthority s. |
org.springframework.security.core.userdetails | The standard interfaces for implementing user data DAOs. |
org.springframework.security.core.userdetails.jdbc | Exposes a JDBC-based authentication repository, implementing
org.springframework.security.core.userdetails.UserDetailsService UserDetailsService . |
org.springframework.security.core.userdetails.memory | Exposes an in-memory authentication repository. |
org.springframework.security.ldap.authentication | The LDAP authentication provider package. |
org.springframework.security.ldap.userdetails | LDAP-focused UserDetails implementations which map from a ubset of the data
contained in some of the standard LDAP types (such as InetOrgPerson ). |
org.springframework.security.openid | Authenticates standard web browser users via OpenID. |
org.springframework.security.provisioning | Contains simple user and authority group account provisioning interfaces together with a a JDBC-based implementation. |
org.springframework.security.web.authentication.preauth | Support for "pre-authenticated" scenarios, where Spring Security assumes the incoming request has already been authenticated by some externally configured system. |
org.springframework.security.web.authentication.switchuser | Provides HTTP-based "switch user" (su) capabilities. |
Uses of GrantedAuthority in org.springframework.security.access.hierarchicalroles |
---|
Methods in org.springframework.security.access.hierarchicalroles that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
UserDetailsWrapper.getAuthorities()
Deprecated. |
Collection<GrantedAuthority> |
RoleHierarchy.getReachableGrantedAuthorities(Collection<GrantedAuthority> authorities)
Returns an array of all reachable authorities. |
Collection<GrantedAuthority> |
RoleHierarchyImpl.getReachableGrantedAuthorities(Collection<GrantedAuthority> authorities)
|
Collection<GrantedAuthority> |
NullRoleHierarchy.getReachableGrantedAuthorities(Collection<GrantedAuthority> authorities)
|
Method parameters in org.springframework.security.access.hierarchicalroles with type arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
RoleHierarchy.getReachableGrantedAuthorities(Collection<GrantedAuthority> authorities)
Returns an array of all reachable authorities. |
Collection<GrantedAuthority> |
RoleHierarchyImpl.getReachableGrantedAuthorities(Collection<GrantedAuthority> authorities)
|
Collection<GrantedAuthority> |
NullRoleHierarchy.getReachableGrantedAuthorities(Collection<GrantedAuthority> authorities)
|
Uses of GrantedAuthority in org.springframework.security.access.intercept |
---|
Constructors in org.springframework.security.access.intercept with parameters of type GrantedAuthority | |
---|---|
RunAsUserToken(String key,
Object principal,
Object credentials,
GrantedAuthority[] authorities,
Class<? extends Authentication> originalAuthentication)
|
Constructor parameters in org.springframework.security.access.intercept with type arguments of type GrantedAuthority | |
---|---|
RunAsUserToken(String key,
Object principal,
Object credentials,
Collection<GrantedAuthority> authorities,
Class<? extends Authentication> originalAuthentication)
|
Uses of GrantedAuthority in org.springframework.security.acls.domain |
---|
Constructors in org.springframework.security.acls.domain with parameters of type GrantedAuthority | |
---|---|
AclAuthorizationStrategyImpl(GrantedAuthority[] auths)
Constructor. |
|
GrantedAuthoritySid(GrantedAuthority grantedAuthority)
|
Uses of GrantedAuthority in org.springframework.security.authentication |
---|
Methods in org.springframework.security.authentication that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
AbstractAuthenticationToken.getAuthorities()
|
Constructors in org.springframework.security.authentication with parameters of type GrantedAuthority | |
---|---|
AnonymousAuthenticationToken(String key,
Object principal,
GrantedAuthority[] authorities)
Deprecated. use the second constructor |
|
TestingAuthenticationToken(Object principal,
Object credentials,
GrantedAuthority[] authorities)
|
|
UsernamePasswordAuthenticationToken(Object principal,
Object credentials,
GrantedAuthority[] authorities)
Deprecated. use the list of authorities version |
Constructor parameters in org.springframework.security.authentication with type arguments of type GrantedAuthority | |
---|---|
AbstractAuthenticationToken(Collection<? extends GrantedAuthority> authorities)
Creates a token with the supplied array of authorities. |
|
AnonymousAuthenticationToken(String key,
Object principal,
List<GrantedAuthority> authorities)
Constructor. |
|
RememberMeAuthenticationToken(String key,
Object principal,
Collection<? extends GrantedAuthority> authorities)
Constructor. |
|
TestingAuthenticationToken(Object principal,
Object credentials,
List<GrantedAuthority> authorities)
|
|
UsernamePasswordAuthenticationToken(Object principal,
Object credentials,
Collection<? extends GrantedAuthority> authorities)
This constructor should only be used by AuthenticationManager or AuthenticationProvider
implementations that are satisfied with producing a trusted (i.e. |
Uses of GrantedAuthority in org.springframework.security.authentication.jaas |
---|
Classes in org.springframework.security.authentication.jaas that implement GrantedAuthority | |
---|---|
class |
JaasGrantedAuthority
Extends GrantedAuthorityImpl to hold the principal that an AuthorityGranter justified as a reason to grant this Authority. |
Constructor parameters in org.springframework.security.authentication.jaas with type arguments of type GrantedAuthority | |
---|---|
JaasAuthenticationToken(Object principal,
Object credentials,
List<GrantedAuthority> authorities,
LoginContext loginContext)
|
Uses of GrantedAuthority in org.springframework.security.authentication.rcp |
---|
Methods in org.springframework.security.authentication.rcp that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
RemoteAuthenticationManager.attemptAuthentication(String username,
String password)
Attempts to authenticate the remote client using the presented username and password. |
Collection<GrantedAuthority> |
RemoteAuthenticationManagerImpl.attemptAuthentication(String username,
String password)
|
Uses of GrantedAuthority in org.springframework.security.cas.authentication |
---|
Constructor parameters in org.springframework.security.cas.authentication with type arguments of type GrantedAuthority | |
---|---|
CasAuthenticationToken(String key,
Object principal,
Object credentials,
Collection<? extends GrantedAuthority> authorities,
UserDetails userDetails,
org.jasig.cas.client.validation.Assertion assertion)
Constructor. |
Uses of GrantedAuthority in org.springframework.security.core |
---|
Methods in org.springframework.security.core that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
Authentication.getAuthorities()
Set by an AuthenticationManager to indicate the authorities that the principal has been
granted. |
Uses of GrantedAuthority in org.springframework.security.core.authority |
---|
Classes in org.springframework.security.core.authority that implement GrantedAuthority | |
---|---|
class |
GrantedAuthorityImpl
Basic concrete implementation of a GrantedAuthority . |
Fields in org.springframework.security.core.authority with type parameters of type GrantedAuthority | |
---|---|
static List<GrantedAuthority> |
AuthorityUtils.NO_AUTHORITIES
|
Methods in org.springframework.security.core.authority that return types with arguments of type GrantedAuthority | |
---|---|
static List<GrantedAuthority> |
AuthorityUtils.commaSeparatedStringToAuthorityList(String authorityString)
Creates a array of GrantedAuthority objects from a comma-separated string representation (e.g. |
static List<GrantedAuthority> |
AuthorityUtils.createAuthorityList(String... roles)
|
List<GrantedAuthority> |
GrantedAuthoritiesContainerImpl.getGrantedAuthorities()
|
List<GrantedAuthority> |
GrantedAuthoritiesContainer.getGrantedAuthorities()
|
Method parameters in org.springframework.security.core.authority with type arguments of type GrantedAuthority | |
---|---|
static Set<String> |
AuthorityUtils.authorityListToSet(Collection<GrantedAuthority> userAuthorities)
Converts an array of GrantedAuthority objects to a Set. |
void |
GrantedAuthoritiesContainerImpl.setGrantedAuthorities(List<GrantedAuthority> newAuthorities)
|
void |
MutableGrantedAuthoritiesContainer.setGrantedAuthorities(List<GrantedAuthority> authorities)
Used to store authorities in the containing object. |
Uses of GrantedAuthority in org.springframework.security.core.authority.mapping |
---|
Methods in org.springframework.security.core.authority.mapping that return types with arguments of type GrantedAuthority | |
---|---|
Map<String,Collection<GrantedAuthority>> |
MapBasedAttributes2GrantedAuthoritiesMapper.getAttributes2grantedAuthoritiesMap()
|
List<GrantedAuthority> |
MapBasedAttributes2GrantedAuthoritiesMapper.getGrantedAuthorities(Collection<String> attributes)
Map the given array of attributes to Spring Security GrantedAuthorities. |
List<GrantedAuthority> |
Attributes2GrantedAuthoritiesMapper.getGrantedAuthorities(Collection<String> attributes)
Implementations of this method should map the given list of attributes to a list of Spring Security GrantedAuthorities. |
List<GrantedAuthority> |
SimpleAttributes2GrantedAuthoritiesMapper.getGrantedAuthorities(Collection<String> attributes)
Map the given list of string attributes one-to-one to Spring Security GrantedAuthorities. |
Uses of GrantedAuthority in org.springframework.security.core.userdetails |
---|
Methods in org.springframework.security.core.userdetails that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
UserDetails.getAuthorities()
Returns the authorities granted to the user. |
Collection<GrantedAuthority> |
User.getAuthorities()
|
Constructors in org.springframework.security.core.userdetails with parameters of type GrantedAuthority | |
---|---|
User(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
GrantedAuthority[] authorities)
Deprecated. |
Constructor parameters in org.springframework.security.core.userdetails with type arguments of type GrantedAuthority | |
---|---|
User(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
Collection<? extends GrantedAuthority> authorities)
Construct the User with the details required by
DaoAuthenticationProvider . |
Uses of GrantedAuthority in org.springframework.security.core.userdetails.jdbc |
---|
Methods in org.springframework.security.core.userdetails.jdbc that return types with arguments of type GrantedAuthority | |
---|---|
protected List<GrantedAuthority> |
JdbcDaoImpl.loadGroupAuthorities(String username)
Loads authorities by executing the SQL from groupAuthoritiesByUsernameQuery. |
protected List<GrantedAuthority> |
JdbcDaoImpl.loadUserAuthorities(String username)
Loads authorities by executing the SQL from authoritiesByUsernameQuery. |
Method parameters in org.springframework.security.core.userdetails.jdbc with type arguments of type GrantedAuthority | |
---|---|
protected void |
JdbcDaoImpl.addCustomAuthorities(String username,
List<GrantedAuthority> authorities)
Allows subclasses to add their own granted authorities to the list to be returned in the UserDetails. |
protected UserDetails |
JdbcDaoImpl.createUserDetails(String username,
UserDetails userFromUserQuery,
List<GrantedAuthority> combinedAuthorities)
Can be overridden to customize the creation of the final UserDetailsObject which is returned by the loadUserByUsername method. |
Uses of GrantedAuthority in org.springframework.security.core.userdetails.memory |
---|
Methods in org.springframework.security.core.userdetails.memory that return types with arguments of type GrantedAuthority | |
---|---|
List<GrantedAuthority> |
UserAttribute.getAuthorities()
|
Methods in org.springframework.security.core.userdetails.memory with parameters of type GrantedAuthority | |
---|---|
void |
UserAttribute.addAuthority(GrantedAuthority newAuthority)
|
Method parameters in org.springframework.security.core.userdetails.memory with type arguments of type GrantedAuthority | |
---|---|
void |
UserAttribute.setAuthorities(List<GrantedAuthority> authorities)
Set all authorities for this user. |
Uses of GrantedAuthority in org.springframework.security.ldap.authentication |
---|
Methods in org.springframework.security.ldap.authentication that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
UserDetailsServiceLdapAuthoritiesPopulator.getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData,
String username)
|
Collection<GrantedAuthority> |
NullLdapAuthoritiesPopulator.getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails,
String username)
|
protected Collection<GrantedAuthority> |
LdapAuthenticationProvider.loadUserAuthorities(org.springframework.ldap.core.DirContextOperations userData,
String username,
String password)
|
Uses of GrantedAuthority in org.springframework.security.ldap.userdetails |
---|
Methods in org.springframework.security.ldap.userdetails that return GrantedAuthority | |
---|---|
protected GrantedAuthority |
LdapUserDetailsMapper.createAuthority(Object role)
Creates a GrantedAuthority from a role attribute. |
Methods in org.springframework.security.ldap.userdetails that return types with arguments of type GrantedAuthority | |
---|---|
protected Set<GrantedAuthority> |
DefaultLdapAuthoritiesPopulator.getAdditionalRoles(org.springframework.ldap.core.DirContextOperations user,
String username)
This method should be overridden if required to obtain any additional roles for the given user (on top of those obtained from the standard search implemented by this class). |
Collection<GrantedAuthority> |
LdapUserDetailsImpl.getAuthorities()
|
Collection<GrantedAuthority> |
LdapUserDetailsImpl.Essence.getGrantedAuthorities()
|
Collection<GrantedAuthority> |
LdapAuthoritiesPopulator.getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData,
String username)
Get the list of authorities for the user. |
Collection<GrantedAuthority> |
DefaultLdapAuthoritiesPopulator.getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations user,
String username)
Obtains the authorities for the user who's directory entry is represented by the supplied LdapUserDetails object. |
Set<GrantedAuthority> |
DefaultLdapAuthoritiesPopulator.getGroupMembershipRoles(String userDn,
String username)
|
Methods in org.springframework.security.ldap.userdetails with parameters of type GrantedAuthority | |
---|---|
void |
LdapUserDetailsImpl.Essence.addAuthority(GrantedAuthority a)
Adds the authority to the list, unless it is already there, in which case it is ignored |
Method parameters in org.springframework.security.ldap.userdetails with type arguments of type GrantedAuthority | |
---|---|
protected void |
LdapUserDetailsManager.addAuthorities(org.springframework.ldap.core.DistinguishedName userDn,
Collection<GrantedAuthority> authorities)
|
UserDetails |
UserDetailsContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<GrantedAuthority> authority)
Creates a fully populated UserDetails object for use by the security framework. |
UserDetails |
LdapUserDetailsMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<GrantedAuthority> authorities)
|
UserDetails |
PersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<GrantedAuthority> authorities)
|
UserDetails |
InetOrgPersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<GrantedAuthority> authorities)
|
protected void |
LdapUserDetailsManager.removeAuthorities(org.springframework.ldap.core.DistinguishedName userDn,
List<GrantedAuthority> authorities)
|
void |
LdapUserDetailsImpl.Essence.setAuthorities(Collection<GrantedAuthority> authorities)
|
Uses of GrantedAuthority in org.springframework.security.openid |
---|
Constructor parameters in org.springframework.security.openid with type arguments of type GrantedAuthority | |
---|---|
OpenIDAuthenticationToken(Object principal,
Collection<? extends GrantedAuthority> authorities,
String identityUrl,
List<OpenIDAttribute> attributes)
Created by the OpenIDAuthenticationProvider on successful authentication. |
Uses of GrantedAuthority in org.springframework.security.provisioning |
---|
Methods in org.springframework.security.provisioning that return types with arguments of type GrantedAuthority | |
---|---|
List<GrantedAuthority> |
GroupManager.findGroupAuthorities(String groupName)
Obtains the list of authorities which are assigned to a group. |
List<GrantedAuthority> |
JdbcUserDetailsManager.findGroupAuthorities(String groupName)
|
Methods in org.springframework.security.provisioning with parameters of type GrantedAuthority | |
---|---|
void |
GroupManager.addGroupAuthority(String groupName,
GrantedAuthority authority)
Assigns a new authority to a group. |
void |
JdbcUserDetailsManager.addGroupAuthority(String groupName,
GrantedAuthority authority)
|
void |
GroupManager.removeGroupAuthority(String groupName,
GrantedAuthority authority)
Deletes an authority from those assigned to a group |
void |
JdbcUserDetailsManager.removeGroupAuthority(String groupName,
GrantedAuthority authority)
|
Method parameters in org.springframework.security.provisioning with type arguments of type GrantedAuthority | |
---|---|
void |
GroupManager.createGroup(String groupName,
List<GrantedAuthority> authorities)
Creates a new group with the specified list of authorities. |
void |
JdbcUserDetailsManager.createGroup(String groupName,
List<GrantedAuthority> authorities)
|
Uses of GrantedAuthority in org.springframework.security.web.authentication.preauth |
---|
Methods in org.springframework.security.web.authentication.preauth that return types with arguments of type GrantedAuthority | |
---|---|
List<GrantedAuthority> |
PreAuthenticatedGrantedAuthoritiesAuthenticationDetails.getGrantedAuthorities()
|
List<GrantedAuthority> |
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails.getGrantedAuthorities()
|
Method parameters in org.springframework.security.web.authentication.preauth with type arguments of type GrantedAuthority | |
---|---|
protected UserDetails |
PreAuthenticatedGrantedAuthoritiesUserDetailsService.createuserDetails(Authentication token,
List<GrantedAuthority> authorities)
Creates the final UserDetails object. |
void |
PreAuthenticatedGrantedAuthoritiesAuthenticationDetails.setGrantedAuthorities(List<GrantedAuthority> aJ2eeBasedGrantedAuthorities)
|
void |
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails.setGrantedAuthorities(List<GrantedAuthority> authorities)
|
Constructor parameters in org.springframework.security.web.authentication.preauth with type arguments of type GrantedAuthority | |
---|---|
PreAuthenticatedAuthenticationToken(Object aPrincipal,
Object aCredentials,
Collection<? extends GrantedAuthority> anAuthorities)
Constructor used for an authentication response. |
Uses of GrantedAuthority in org.springframework.security.web.authentication.switchuser |
---|
Classes in org.springframework.security.web.authentication.switchuser that implement GrantedAuthority | |
---|---|
class |
SwitchUserGrantedAuthority
Custom GrantedAuthority used by SwitchUserFilter Stores
the Authentication object of the original user to be used later when 'exiting' from a user switch. |
Methods in org.springframework.security.web.authentication.switchuser that return types with arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
SwitchUserAuthorityChanger.modifyGrantedAuthorities(UserDetails targetUser,
Authentication currentAuthentication,
Collection<GrantedAuthority> authoritiesToBeGranted)
Allow subclasses to add or remove authorities that will be granted when in switch user mode. |
Method parameters in org.springframework.security.web.authentication.switchuser with type arguments of type GrantedAuthority | |
---|---|
Collection<GrantedAuthority> |
SwitchUserAuthorityChanger.modifyGrantedAuthorities(UserDetails targetUser,
Authentication currentAuthentication,
Collection<GrantedAuthority> authoritiesToBeGranted)
Allow subclasses to add or remove authorities that will be granted when in switch user mode. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |