Uses of Interface
org.apache.shiro.authz.AuthorizationInfo
-
Packages that use AuthorizationInfo Package Description org.apache.shiro.authc Core interfaces and exceptions concerning Authentication (the act of logging-in).org.apache.shiro.authz Core interfaces and exceptions supporting Authorization (access control).org.apache.shiro.realm Components and sub-packages used in supporting the coreRealm
interface.org.apache.shiro.realm.activedirectory Realms that acquire security data from a Microsoft Active Directory.org.apache.shiro.realm.jdbc Realms that acquire security data from an RDBMS (Relational Database Management System) using the JDBC API.org.apache.shiro.realm.ldap Realms that acquire security data from an LDAP (Lightweight Directory Access Protocol) server utilizing LDAP/Naming APIs. -
-
Uses of AuthorizationInfo in org.apache.shiro.authc
Subinterfaces of AuthorizationInfo in org.apache.shiro.authc Modifier and Type Interface Description interface
Account
An Account is a convenience interface that extends bothAuthenticationInfo
andAuthorizationInfo
and represents authentication and authorization for a single account in a single Realm.Classes in org.apache.shiro.authc that implement AuthorizationInfo Modifier and Type Class Description class
SimpleAccount
Simple implementation of theAccount
interface that contains principal and credential and authorization information (roles and permissions) as instance variables and exposes them via getters and setters using standard JavaBean notation. -
Uses of AuthorizationInfo in org.apache.shiro.authz
Classes in org.apache.shiro.authz that implement AuthorizationInfo Modifier and Type Class Description class
SimpleAuthorizationInfo
Simple POJO implementation of theAuthorizationInfo
interface that stores roles and permissions as internal attributes. -
Uses of AuthorizationInfo in org.apache.shiro.realm
Methods in org.apache.shiro.realm that return AuthorizationInfo Modifier and Type Method Description protected abstract AuthorizationInfo
AuthorizingRealm. doGetAuthorizationInfo(PrincipalCollection principals)
Retrieves the AuthorizationInfo for the given principals from the underlying data store.protected AuthorizationInfo
SimpleAccountRealm. doGetAuthorizationInfo(PrincipalCollection principals)
protected AuthorizationInfo
AuthorizingRealm. getAuthorizationInfo(PrincipalCollection principals)
Returns an account's authorization-specific information for the specifiedprincipals
, ornull
if no account could be found.Methods in org.apache.shiro.realm that return types with arguments of type AuthorizationInfo Modifier and Type Method Description org.apache.shiro.cache.Cache<Object,AuthorizationInfo>
AuthorizingRealm. getAuthorizationCache()
Methods in org.apache.shiro.realm with parameters of type AuthorizationInfo Modifier and Type Method Description protected void
AuthorizingRealm. checkPermission(Permission permission, AuthorizationInfo info)
protected void
AuthorizingRealm. checkPermissions(Collection<Permission> permissions, AuthorizationInfo info)
protected void
AuthorizingRealm. checkRole(String role, AuthorizationInfo info)
protected void
AuthorizingRealm. checkRoles(Collection<String> roles, AuthorizationInfo info)
protected Collection<Permission>
AuthorizingRealm. getPermissions(AuthorizationInfo info)
protected boolean
AuthorizingRealm. hasRole(String roleIdentifier, AuthorizationInfo info)
protected boolean[]
AuthorizingRealm. hasRoles(List<String> roleIdentifiers, AuthorizationInfo info)
protected boolean[]
AuthorizingRealm. isPermitted(List<Permission> permissions, AuthorizationInfo info)
protected boolean
AuthorizingRealm. isPermitted(Permission permission, AuthorizationInfo info)
protected boolean
AuthorizingRealm. isPermittedAll(Collection<Permission> permissions, AuthorizationInfo info)
Method parameters in org.apache.shiro.realm with type arguments of type AuthorizationInfo Modifier and Type Method Description void
AuthorizingRealm. setAuthorizationCache(org.apache.shiro.cache.Cache<Object,AuthorizationInfo> authorizationCache)
-
Uses of AuthorizationInfo in org.apache.shiro.realm.activedirectory
Methods in org.apache.shiro.realm.activedirectory that return AuthorizationInfo Modifier and Type Method Description protected AuthorizationInfo
ActiveDirectoryRealm. buildAuthorizationInfo(Set<String> roleNames)
protected AuthorizationInfo
ActiveDirectoryRealm. queryForAuthorizationInfo(PrincipalCollection principals, LdapContextFactory ldapContextFactory)
Builds anAuthorizationInfo
object by querying the active directory LDAP context for the groups that a user is a member of. -
Uses of AuthorizationInfo in org.apache.shiro.realm.jdbc
Methods in org.apache.shiro.realm.jdbc that return AuthorizationInfo Modifier and Type Method Description protected AuthorizationInfo
JdbcRealm. doGetAuthorizationInfo(PrincipalCollection principals)
This implementation of the interface expects the principals collection to return a String username keyed off of this realm'sname
-
Uses of AuthorizationInfo in org.apache.shiro.realm.ldap
Methods in org.apache.shiro.realm.ldap that return AuthorizationInfo Modifier and Type Method Description protected AuthorizationInfo
AbstractLdapRealm. doGetAuthorizationInfo(PrincipalCollection principals)
protected AuthorizationInfo
DefaultLdapRealm. doGetAuthorizationInfo(PrincipalCollection principals)
protected abstract AuthorizationInfo
AbstractLdapRealm. queryForAuthorizationInfo(PrincipalCollection principal, LdapContextFactory ldapContextFactory)
Abstract method that should be implemented by subclasses to builds anAuthorizationInfo
object by querying the LDAP context for the specified principal.protected AuthorizationInfo
DefaultLdapRealm. queryForAuthorizationInfo(PrincipalCollection principals, LdapContextFactory ldapContextFactory)
Method that should be implemented by subclasses to build anAuthorizationInfo
object by querying the LDAP context for the specified principal.
-