JSecurity

Uses of Class
org.jsecurity.authz.AuthorizationException

Packages that use AuthorizationException
org.jsecurity.authz Core interfaces and exceptions supporting Authorization (access control). 
org.jsecurity.authz.aop Contains AOP implementation support classes specifically used for authorization operations, particularly supporting AOP Method Interceptors and JSR-175 metadata Annotations. 
org.jsecurity.mgt Provides the master SecurityManager interface and a default implementation hierarchy for managing all aspects of JSecurity's functionality in an application. 
org.jsecurity.realm Components and sub-packages used in supporting the core Realm interface. 
org.jsecurity.session Components related to managing sessions, the time-based data contexts in which a Subject interacts with an application. 
org.jsecurity.subject Components supporting the Subject interface, the most important concept in JSecurity's API. 
org.jsecurity.web.session Components supporting Session management in web-enabled applications. 
 

Uses of AuthorizationException in org.jsecurity.authz
 

Subclasses of AuthorizationException in org.jsecurity.authz
 class HostUnauthorizedException
          Thrown when a particular client (that is, host address) has not been enabled to access the system or if the client has been enabled access but is not permitted to perform a particluar operation or access a particular resource.
 class UnauthenticatedException
          Exception thrown when attempting to execute an authorization action when a successful authentication hasn't yet occurred.
 class UnauthorizedException
          Thrown to indicate a requested operation or access to a requested resource is not allowed.
 

Methods in org.jsecurity.authz that throw AuthorizationException
 void SimpleAuthorizingAccount.checkPermission(Permission permission)
          Deprecated.  
 void AuthorizingAccount.checkPermission(Permission permission)
          Deprecated.  
 void ModularRealmAuthorizer.checkPermission(PrincipalCollection principals, Permission permission)
          If !
 void Authorizer.checkPermission(PrincipalCollection subjectPrincipal, Permission permission)
          Ensures a subject/user Permission.implies(Permission) implies} the specified Permission.
 void ModularRealmAuthorizer.checkPermission(PrincipalCollection principals, String permission)
          If !
 void Authorizer.checkPermission(PrincipalCollection subjectPrincipal, String permission)
          Ensures the corresponding Subject/user implies the specified permission String.
 void SimpleAuthorizingAccount.checkPermissions(Collection<Permission> permissions)
          Deprecated.  
 void AuthorizingAccount.checkPermissions(Collection<Permission> permissions)
          Deprecated.  
 void ModularRealmAuthorizer.checkPermissions(PrincipalCollection principals, Collection<Permission> permissions)
          If !
 void Authorizer.checkPermissions(PrincipalCollection subjectPrincipal, Collection<Permission> permissions)
          Ensures the corresponding Subject/user implies all of the specified permission strings.
 void ModularRealmAuthorizer.checkPermissions(PrincipalCollection principals, String... permissions)
          If !
 void Authorizer.checkPermissions(PrincipalCollection subjectPrincipal, String... permissions)
          Ensures the corresponding Subject/user implies all of the specified permission strings.
 void ModularRealmAuthorizer.checkRole(PrincipalCollection principals, String role)
          If !
 void Authorizer.checkRole(PrincipalCollection subjectPrincipal, String roleIdentifier)
          Asserts the corresponding Subject/user has the specified role by returning quietly if they do or throwing an AuthorizationException if they do not.
 void ModularRealmAuthorizer.checkRoles(PrincipalCollection principals, Collection<String> roles)
          Calls checkRole for each role specified.
 void Authorizer.checkRoles(PrincipalCollection subjectPrincipal, Collection<String> roleIdentifiers)
          Asserts the corresponding Subject/user has all of the specified roles by returning quietly if they do or throwing an AuthorizationException if they do not.
 

Uses of AuthorizationException in org.jsecurity.authz.aop
 

Methods in org.jsecurity.authz.aop that throw AuthorizationException
 void UserAnnotationHandler.assertAuthorized(Annotation a)
          Ensures that the calling Subject is a user, that is, they are either authenticated or remembered via remember me services before allowing access, and if not, throws an AuthorizingException indicating access is not allowed.
 void RoleAnnotationHandler.assertAuthorized(Annotation a)
          Ensures that the calling Subject has the Annotation's specified roles, and if not, throws an AuthorizingException indicating that access is denied.
 void PermissionAnnotationHandler.assertAuthorized(Annotation a)
          Ensures that the calling Subject has the Annotation's specified permissions, and if not, throws an AuthorizingException indicating access is denied.
 void GuestAnnotationHandler.assertAuthorized(Annotation a)
          Ensures that the calling Subject is NOT a user, that is, they do not have an identity before continuing.
abstract  void AuthorizingAnnotationHandler.assertAuthorized(Annotation a)
          Ensures the calling Subject is authorized to execute based on the directive(s) found in the given annotation.
protected abstract  void AuthorizingMethodInterceptor.assertAuthorized(MethodInvocation methodInvocation)
          Asserts that the specified MethodInvocation is allowed to continue by performing any necessary authorization (access control) checks first.
 void AuthorizingAnnotationMethodInterceptor.assertAuthorized(MethodInvocation mi)
          Ensures the calling Subject is authorized to execute the specified MethodInvocation.
protected  void AnnotationsAuthorizingMethodInterceptor.assertAuthorized(MethodInvocation methodInvocation)
          Iterates over the internal methodInterceptors collection, and for each one, ensures that if the interceptor supports the invocation, that the interceptor asserts that the invocation is authorized to proceed.
 

Uses of AuthorizationException in org.jsecurity.mgt
 

Methods in org.jsecurity.mgt that throw AuthorizationException
 void AuthorizingSecurityManager.checkPermission(PrincipalCollection principals, Permission permission)
           
 void AuthorizingSecurityManager.checkPermission(PrincipalCollection principals, String permission)
           
 void AuthorizingSecurityManager.checkPermissions(PrincipalCollection principals, Collection<Permission> permissions)
           
 void AuthorizingSecurityManager.checkPermissions(PrincipalCollection principals, String... permissions)
           
 void AuthorizingSecurityManager.checkRole(PrincipalCollection principals, String role)
           
 void AuthorizingSecurityManager.checkRoles(PrincipalCollection principals, Collection<String> roles)
           
 Session SessionsSecurityManager.getSession(Serializable sessionId)
           
 

Uses of AuthorizationException in org.jsecurity.realm
 

Methods in org.jsecurity.realm that throw AuthorizationException
 void AuthorizingRealm.checkPermission(PrincipalCollection principal, Permission permission)
           
 void AuthorizingRealm.checkPermission(PrincipalCollection subjectIdentifier, String permission)
           
 void AuthorizingRealm.checkPermissions(PrincipalCollection principal, Collection<Permission> permissions)
           
 void AuthorizingRealm.checkPermissions(PrincipalCollection subjectIdentifier, String... permissions)
           
 void AuthorizingRealm.checkRole(PrincipalCollection principal, String role)
           
 void AuthorizingRealm.checkRoles(PrincipalCollection principal, Collection<String> roles)
           
 

Uses of AuthorizationException in org.jsecurity.session
 

Methods in org.jsecurity.session that throw AuthorizationException
 Session SessionFactory.getSession(Serializable sessionId)
          Acquires a handle to the session identified by the specified sessionId.
 

Uses of AuthorizationException in org.jsecurity.subject
 

Methods in org.jsecurity.subject that throw AuthorizationException
protected  void DelegatingSubject.assertAuthzCheckPossible()
           
 void Subject.checkPermission(Permission permission)
          Ensures this Subject implies the specified Permission.
 void DelegatingSubject.checkPermission(Permission permission)
           
 void Subject.checkPermission(String permission)
          Ensures this Subject implies the specified permission String.
 void DelegatingSubject.checkPermission(String permission)
           
 void Subject.checkPermissions(Collection<Permission> permissions)
          Ensures this Subject implies all of the specified permission strings.
 void DelegatingSubject.checkPermissions(Collection<Permission> permissions)
           
 void Subject.checkPermissions(String... permissions)
          Ensures this Subject implies all of the specified permission strings.
 void DelegatingSubject.checkPermissions(String... permissions)
           
 void Subject.checkRole(String roleIdentifier)
          Asserts this Subject has the specified role by returning quietly if they do or throwing an AuthorizationException if they do not.
 void DelegatingSubject.checkRole(String role)
           
 void Subject.checkRoles(Collection<String> roleIdentifiers)
          Asserts this Subject has all of the specified roles by returning quietly if they do or throwing an AuthorizationException if they do not.
 void DelegatingSubject.checkRoles(Collection<String> roles)
           
 

Uses of AuthorizationException in org.jsecurity.web.session
 

Methods in org.jsecurity.web.session that throw AuthorizationException
 Session ServletContainerSessionManager.getSession(ServletRequest request, ServletResponse response)
           
 Session DefaultWebSessionManager.getSession(ServletRequest request, ServletResponse response)
          Returns the Session associated with the specified request if it is valid or null if a Session doesn't exist or it was invalid.
 Session DefaultWebSessionManager.retrieveSession(Serializable sessionId)
           
 


JSecurity

Copyright © 2004-2008 JSecurity.