Spring Security Framework

Uses of Interface
org.springframework.security.GrantedAuthority

Packages that use GrantedAuthority
org.springframework.security Provides core Spring Security interfaces and classes. 
org.springframework.security.acls.domain Basic implementation of access control lists (ACLs) interfaces. 
org.springframework.security.acls.sid Provides indirection between ACL packages and security identities, such as principals and GrantedAuthority[]s. 
org.springframework.security.adapters Allows external containers to obtain authentication information from the system. 
org.springframework.security.authoritymapping   
org.springframework.security.ldap   
org.springframework.security.ldap.populator LdapAuthoritiesPopulator implementations. 
org.springframework.security.providers Implements a provider-based approach to authentication decisions. 
org.springframework.security.providers.anonymous Allows you to secure every invocation (especially useful for web request URI security) by always having either an actual principal or an anonymous principal authenticated. 
org.springframework.security.providers.cas An authentication provider that can process JA-SIG Central Authentication Service (CAS) service tickets and proxy tickets. 
org.springframework.security.providers.jaas An authentication provider for JAAS. 
org.springframework.security.providers.ldap The LDAP authentication provider package. 
org.springframework.security.providers.openid An authentication provider that can process OpenID Authentication Tokens as created by implementations of the OpenIDConsumer interface. 
org.springframework.security.providers.preauth   
org.springframework.security.providers.rcp Allows remote clients to authenticate and obtain a populated Authentication object. 
org.springframework.security.providers.rememberme Authentication provider that processes RememberMeAuthenticationTokens. 
org.springframework.security.providers.x509 This package is now deprecated and will be removed in a future version. 
org.springframework.security.runas Allows secure objects to be run under a different authentication identity. 
org.springframework.security.ui.portlet Authentication interceptor (and related classes) for use with the Portlet 1.0 (JSR 168) Specification. 
org.springframework.security.ui.preauth   
org.springframework.security.ui.switchuser Provides HTTP-based "switch user" (su) capabilities. 
org.springframework.security.userdetails   
org.springframework.security.userdetails.hierarchicalroles   
org.springframework.security.userdetails.jdbc Exposes a JDBC-based authentication repository. 
org.springframework.security.userdetails.ldap   
org.springframework.security.userdetails.memory Exposes an in-memory authentication repository. 
org.springframework.security.util General utility classes used throughout the Spring Security framework. 
 

Uses of GrantedAuthority in org.springframework.security
 

Classes in org.springframework.security that implement GrantedAuthority
 class GrantedAuthorityImpl
          Basic concrete implementation of a GrantedAuthority.
 

Methods in org.springframework.security that return GrantedAuthority
 GrantedAuthority[] Authentication.getAuthorities()
          Set by an AuthenticationManager to indicate the authorities that the principal has been granted.
 GrantedAuthority[] GrantedAuthoritiesContainerImpl.getGrantedAuthorities()
           
 GrantedAuthority[] GrantedAuthoritiesContainer.getGrantedAuthorities()
           
 

Methods in org.springframework.security with parameters of type GrantedAuthority
 void MutableGrantedAuthoritiesContainer.setGrantedAuthorities(GrantedAuthority[] authorities)
          Used to store authorities in the containing object.
 void GrantedAuthoritiesContainerImpl.setGrantedAuthorities(GrantedAuthority[] newAuthorities)
           
 

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.
 

Uses of GrantedAuthority in org.springframework.security.acls.sid
 

Constructors in org.springframework.security.acls.sid with parameters of type GrantedAuthority
GrantedAuthoritySid(GrantedAuthority grantedAuthority)
           
 

Uses of GrantedAuthority in org.springframework.security.adapters
 

Constructors in org.springframework.security.adapters with parameters of type GrantedAuthority
AbstractAdapterAuthenticationToken(String key, GrantedAuthority[] authorities)
          The only way an AbstractAdapterAuthentication should be constructed.
PrincipalSpringSecurityUserToken(String key, String username, String password, GrantedAuthority[] authorities, Object principal)
           
 

Uses of GrantedAuthority in org.springframework.security.authoritymapping
 

Methods in org.springframework.security.authoritymapping that return GrantedAuthority
 GrantedAuthority[] SimpleAttributes2GrantedAuthoritiesMapper.getGrantedAuthorities(String[] attributes)
          Map the given list of string attributes one-to-one to Spring Security GrantedAuthorities.
 GrantedAuthority[] MapBasedAttributes2GrantedAuthoritiesMapper.getGrantedAuthorities(String[] attributes)
          Map the given array of attributes to Spring Security GrantedAuthorities.
 GrantedAuthority[] Attributes2GrantedAuthoritiesMapper.getGrantedAuthorities(String[] attributes)
          Implementations of this method should map the given list of attributes to a list of Spring Security GrantedAuthorities.
 

Uses of GrantedAuthority in org.springframework.security.ldap
 

Methods in org.springframework.security.ldap that return GrantedAuthority
 GrantedAuthority[] LdapAuthoritiesPopulator.getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, String username)
          Get the list of authorities for the user.
 

Uses of GrantedAuthority in org.springframework.security.ldap.populator
 

Methods in org.springframework.security.ldap.populator that return GrantedAuthority
 GrantedAuthority[] UserDetailsServiceLdapAuthoritiesPopulator.getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, String username)
           
 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.
 

Uses of GrantedAuthority in org.springframework.security.providers
 

Methods in org.springframework.security.providers that return GrantedAuthority
 GrantedAuthority[] AbstractAuthenticationToken.getAuthorities()
           
 

Constructors in org.springframework.security.providers with parameters of type GrantedAuthority
AbstractAuthenticationToken(GrantedAuthority[] authorities)
          Creates a token with the supplied array of authorities.
UsernamePasswordAuthenticationToken(Object principal, Object credentials, GrantedAuthority[] authorities)
          This constructor should only be used by AuthenticationManager or AuthenticationProvider implementations that are satisfied with producing a trusted (ie AbstractAuthenticationToken.isAuthenticated() = true) authentication token.
 

Uses of GrantedAuthority in org.springframework.security.providers.anonymous
 

Constructors in org.springframework.security.providers.anonymous with parameters of type GrantedAuthority
AnonymousAuthenticationToken(String key, Object principal, GrantedAuthority[] authorities)
          Constructor.
 

Uses of GrantedAuthority in org.springframework.security.providers.cas
 

Constructors in org.springframework.security.providers.cas with parameters of type GrantedAuthority
CasAuthenticationToken(String key, Object principal, Object credentials, GrantedAuthority[] authorities, UserDetails userDetails, org.jasig.cas.client.validation.Assertion assertion)
          Constructor.
 

Uses of GrantedAuthority in org.springframework.security.providers.jaas
 

Classes in org.springframework.security.providers.jaas that implement GrantedAuthority
 class JaasGrantedAuthority
          Extends GrantedAuthorityImpl to hold the principal that an AuthorityGranter justified as a reason to grant this Authority.
 

Constructors in org.springframework.security.providers.jaas with parameters of type GrantedAuthority
JaasAuthenticationToken(Object principal, Object credentials, GrantedAuthority[] authorities, LoginContext loginContext)
           
 

Uses of GrantedAuthority in org.springframework.security.providers.ldap
 

Methods in org.springframework.security.providers.ldap that return GrantedAuthority
protected  GrantedAuthority[] LdapAuthenticationProvider.loadUserAuthorities(org.springframework.ldap.core.DirContextOperations userData, String username, String password)
           
 

Uses of GrantedAuthority in org.springframework.security.providers.openid
 

Constructors in org.springframework.security.providers.openid with parameters of type GrantedAuthority
OpenIDAuthenticationToken(GrantedAuthority[] authorities, OpenIDAuthenticationStatus status, String identityUrl)
          Created by the OpenIDAuthenticationProvider on successful authentication.
 

Uses of GrantedAuthority in org.springframework.security.providers.preauth
 

Methods in org.springframework.security.providers.preauth with parameters of type GrantedAuthority
protected  UserDetails PreAuthenticatedGrantedAuthoritiesUserDetailsService.createuserDetails(Authentication token, GrantedAuthority[] authorities)
          Creates the final UserDetails object.
 

Constructors in org.springframework.security.providers.preauth with parameters of type GrantedAuthority
PreAuthenticatedAuthenticationToken(Object aPrincipal, Object aCredentials, GrantedAuthority[] anAuthorities)
          Constructor used for an authentication response.
 

Uses of GrantedAuthority in org.springframework.security.providers.rcp
 

Methods in org.springframework.security.providers.rcp that return GrantedAuthority
 GrantedAuthority[] RemoteAuthenticationManagerImpl.attemptAuthentication(String username, String password)
           
 GrantedAuthority[] RemoteAuthenticationManager.attemptAuthentication(String username, String password)
          Attempts to authenticate the remote client using the presented username and password.
 

Uses of GrantedAuthority in org.springframework.security.providers.rememberme
 

Constructors in org.springframework.security.providers.rememberme with parameters of type GrantedAuthority
RememberMeAuthenticationToken(String key, Object principal, GrantedAuthority[] authorities)
          Constructor.
 

Uses of GrantedAuthority in org.springframework.security.providers.x509
 

Constructors in org.springframework.security.providers.x509 with parameters of type GrantedAuthority
X509AuthenticationToken(Object principal, X509Certificate credentials, GrantedAuthority[] authorities)
          Deprecated. Used for an authentication response object.
 

Uses of GrantedAuthority in org.springframework.security.runas
 

Constructors in org.springframework.security.runas with parameters of type GrantedAuthority
RunAsUserToken(String key, Object principal, Object credentials, GrantedAuthority[] authorities, Class originalAuthentication)
           
 

Uses of GrantedAuthority in org.springframework.security.ui.portlet
 

Methods in org.springframework.security.ui.portlet that return GrantedAuthority
 GrantedAuthority[] PortletPreAuthenticatedAuthenticationDetails.getGrantedAuthorities()
           
 

Methods in org.springframework.security.ui.portlet with parameters of type GrantedAuthority
 void PortletPreAuthenticatedAuthenticationDetails.setGrantedAuthorities(GrantedAuthority[] authorities)
           
 

Uses of GrantedAuthority in org.springframework.security.ui.preauth
 

Methods in org.springframework.security.ui.preauth that return GrantedAuthority
 GrantedAuthority[] PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails.getGrantedAuthorities()
           
 GrantedAuthority[] PreAuthenticatedGrantedAuthoritiesAuthenticationDetails.getGrantedAuthorities()
           
 

Methods in org.springframework.security.ui.preauth with parameters of type GrantedAuthority
 void PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails.setGrantedAuthorities(GrantedAuthority[] authorities)
           
 void PreAuthenticatedGrantedAuthoritiesAuthenticationDetails.setGrantedAuthorities(GrantedAuthority[] aJ2eeBasedGrantedAuthorities)
           
 

Uses of GrantedAuthority in org.springframework.security.ui.switchuser
 

Classes in org.springframework.security.ui.switchuser that implement GrantedAuthority
 class SwitchUserGrantedAuthority
          Custom GrantedAuthority used by SwitchUserProcessingFilter
 

Uses of GrantedAuthority in org.springframework.security.userdetails
 

Methods in org.springframework.security.userdetails that return GrantedAuthority
 GrantedAuthority[] GroupManager.findGroupAuthorities(String groupName)
          Obtains the list of authorities which are assigned to a group.
 GrantedAuthority[] UserDetails.getAuthorities()
          Returns the authorities granted to the user.
 GrantedAuthority[] User.getAuthorities()
           
 

Methods in org.springframework.security.userdetails with parameters of type GrantedAuthority
 void GroupManager.addGroupAuthority(String groupName, GrantedAuthority authority)
          Assigns a new authority to a group.
 void GroupManager.createGroup(String groupName, GrantedAuthority[] authorities)
          Creates a new group with the specified list of authorities.
 void GroupManager.removeGroupAuthority(String groupName, GrantedAuthority authority)
          Deletes an authority from those assigned to a group
protected  void User.setAuthorities(GrantedAuthority[] authorities)
           
 

Constructors in org.springframework.security.userdetails with parameters of type GrantedAuthority
User(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, GrantedAuthority[] authorities)
          Construct the User with the details required by DaoAuthenticationProvider.
User(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, GrantedAuthority[] authorities)
          Deprecated. use new constructor with extended properties (this constructor will be removed from release 1.0.0)
User(String username, String password, boolean enabled, GrantedAuthority[] authorities)
          Deprecated. use new constructor with extended properties (this constructor will be removed from release 1.0.0)
 

Uses of GrantedAuthority in org.springframework.security.userdetails.hierarchicalroles
 

Methods in org.springframework.security.userdetails.hierarchicalroles that return GrantedAuthority
 GrantedAuthority[] UserDetailsWrapper.getAuthorities()
          Deprecated.  
 GrantedAuthority[] RoleHierarchyImpl.getReachableGrantedAuthorities(GrantedAuthority[] authorities)
           
 GrantedAuthority[] RoleHierarchy.getReachableGrantedAuthorities(GrantedAuthority[] authorities)
          This method returns an array of all reachable authorities.
Reachable authorities are the directly assigned authorities plus all authorities that are (transitively) reachable from them in the role hierarchy.
Example:
Role hierarchy: ROLE_A > ROLE_B and ROLE_B > ROLE_C.
Directly assigned authority: ROLE_A.
Reachable authorities: ROLE_A, ROLE_B, ROLE_C.
 

Methods in org.springframework.security.userdetails.hierarchicalroles with parameters of type GrantedAuthority
 GrantedAuthority[] RoleHierarchyImpl.getReachableGrantedAuthorities(GrantedAuthority[] authorities)
           
 GrantedAuthority[] RoleHierarchy.getReachableGrantedAuthorities(GrantedAuthority[] authorities)
          This method returns an array of all reachable authorities.
Reachable authorities are the directly assigned authorities plus all authorities that are (transitively) reachable from them in the role hierarchy.
Example:
Role hierarchy: ROLE_A > ROLE_B and ROLE_B > ROLE_C.
Directly assigned authority: ROLE_A.
Reachable authorities: ROLE_A, ROLE_B, ROLE_C.
 

Uses of GrantedAuthority in org.springframework.security.userdetails.jdbc
 

Methods in org.springframework.security.userdetails.jdbc that return GrantedAuthority
 GrantedAuthority[] JdbcUserDetailsManager.findGroupAuthorities(String groupName)
           
 

Methods in org.springframework.security.userdetails.jdbc with parameters of type GrantedAuthority
 void JdbcUserDetailsManager.addGroupAuthority(String groupName, GrantedAuthority authority)
           
 void JdbcUserDetailsManager.createGroup(String groupName, GrantedAuthority[] authorities)
           
protected  UserDetails JdbcDaoImpl.createUserDetails(String username, UserDetails userFromUserQuery, GrantedAuthority[] combinedAuthorities)
          Can be overridden to customize the creation of the final UserDetailsObject returnd from loadUserByUsername.
 void JdbcUserDetailsManager.removeGroupAuthority(String groupName, GrantedAuthority authority)
           
 

Uses of GrantedAuthority in org.springframework.security.userdetails.ldap
 

Methods in org.springframework.security.userdetails.ldap that return GrantedAuthority
protected  GrantedAuthority LdapUserDetailsMapper.createAuthority(Object role)
          Creates a GrantedAuthority from a role attribute.
 GrantedAuthority[] LdapUserDetailsImpl.getAuthorities()
           
 GrantedAuthority[] LdapUserDetailsImpl.Essence.getGrantedAuthorities()
           
 

Methods in org.springframework.security.userdetails.ldap with parameters of type GrantedAuthority
protected  void LdapUserDetailsManager.addAuthorities(org.springframework.ldap.core.DistinguishedName userDn, GrantedAuthority[] authorities)
           
 void LdapUserDetailsImpl.Essence.addAuthority(GrantedAuthority a)
          Adds the authority to the list, unless it is already there, in which case it is ignored
 UserDetails UserDetailsContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authority)
          Creates a fully populated UserDetails object for use by the security framework.
 UserDetails PersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authorities)
           
 UserDetails LdapUserDetailsMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authorities)
           
 UserDetails InetOrgPersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authorities)
           
protected  void LdapUserDetailsManager.removeAuthorities(org.springframework.ldap.core.DistinguishedName userDn, GrantedAuthority[] authorities)
           
 void LdapUserDetailsImpl.Essence.setAuthorities(GrantedAuthority[] authorities)
           
 

Uses of GrantedAuthority in org.springframework.security.userdetails.memory
 

Methods in org.springframework.security.userdetails.memory that return GrantedAuthority
 GrantedAuthority[] UserAttribute.getAuthorities()
           
 

Methods in org.springframework.security.userdetails.memory with parameters of type GrantedAuthority
 void UserAttribute.addAuthority(GrantedAuthority newAuthority)
           
 

Uses of GrantedAuthority in org.springframework.security.util
 

Fields in org.springframework.security.util declared as GrantedAuthority
static GrantedAuthority[] AuthorityUtils.NO_AUTHORITIES
           
 

Methods in org.springframework.security.util that return GrantedAuthority
static GrantedAuthority[] AuthorityUtils.commaSeparatedStringToAuthorityArray(String authorityString)
          Creates a array of GrantedAuthority objects from a comma-separated string representation (e.g.
static GrantedAuthority[] AuthorityUtils.stringArrayToAuthorityArray(String[] roles)
           
 

Methods in org.springframework.security.util with parameters of type GrantedAuthority
static Set AuthorityUtils.authorityArrayToSet(GrantedAuthority[] authorities)
          Converts an array of GrantedAuthority objects to a Set.
 


Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.