|
JSecurity | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Subject | |
|---|---|
| org.jsecurity | This package primarily exists as a root classpath distinction, but it does contain two core classes widely used
by applications, SecurityUtils and
JSecurityException. |
| org.jsecurity.aop | Components used to support the framework's AOP/interception support classes. |
| 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.subject | Components supporting the Subject interface, the most important concept in
JSecurity's API. |
| org.jsecurity.util | Your run-of-the-mill 'util' pacakge for components and logic widely used across the framework that can't find their home into a proper OO hierarchy (or, most likely for things used across many hierarchies). |
| org.jsecurity.web | Framework support for any web-enabled application. |
| org.jsecurity.web.filter | Base package supporting all Servlet Filter implementations used to control
access to web pages and URL resources. |
| org.jsecurity.web.filter.authc | Servlet Filter implementations specific to controlling access based on a
subject's authentication status, or those that can execute authentications (log-ins) directly. |
| org.jsecurity.web.servlet | Support implementations that depend heavily on the javax.servlet. |
| org.jsecurity.web.tags | Provides the JSecurity JSP Tag Library implementations. |
| Uses of Subject in org.jsecurity |
|---|
| Methods in org.jsecurity that return Subject | |
|---|---|
static Subject |
SecurityUtils.getSubject()
Returns the currently accessible Subject available to the calling code depending on runtime environment. |
| Uses of Subject in org.jsecurity.aop |
|---|
| Methods in org.jsecurity.aop that return Subject | |
|---|---|
protected Subject |
MethodInterceptorSupport.getSubject()
Returns the Subject associated with the currently-executing code. |
protected Subject |
AnnotationHandler.getSubject()
Returns the Subject associated with the currently-executing code. |
| Uses of Subject in org.jsecurity.mgt |
|---|
| Methods in org.jsecurity.mgt that return Subject | |
|---|---|
protected Subject |
DefaultSecurityManager.createSubject()
|
protected Subject |
DefaultSecurityManager.createSubject(AuthenticationToken token,
AuthenticationInfo info)
Creates a Subject instance for the user represented by the given method arguments. |
protected Subject |
DefaultSecurityManager.createSubject(PrincipalCollection subjectPrincipals)
|
protected Subject |
DefaultSecurityManager.createSubject(PrincipalCollection principals,
Session existing)
|
protected Subject |
DefaultSecurityManager.createSubject(PrincipalCollection principals,
Session existing,
boolean authenticated)
|
protected Subject |
DefaultSecurityManager.createSubject(PrincipalCollection principals,
Session existing,
boolean authenticated,
InetAddress inetAddress)
|
Subject |
SecurityManager.getSubject()
Returns the Subject instance representing the currently executing user. |
Subject |
DefaultSecurityManager.getSubject()
|
protected Subject |
DefaultSecurityManager.getSubject(boolean create)
|
Subject |
SecurityManager.login(AuthenticationToken authenticationToken)
Logs in a user, returning a Subject instance if the authentication is successful or throwing an AuthenticationException if it is not. |
Subject |
DefaultSecurityManager.login(AuthenticationToken token)
First authenticates the AuthenticationToken argument, and if successful, constructs a Subject instance representing the authenticated account's identity. |
| Methods in org.jsecurity.mgt with parameters of type Subject | |
|---|---|
protected void |
DefaultSecurityManager.bind(Subject subject)
Binds a Subject instance created after authentication to the application for later use. |
protected void |
DefaultSecurityManager.stopSession(Subject subject)
|
protected void |
DefaultSecurityManager.unbind(Subject subject)
|
| Uses of Subject in org.jsecurity.subject |
|---|
| Classes in org.jsecurity.subject that implement Subject | |
|---|---|
class |
DelegatingSubject
Implementation of the Subject interface that delegates method calls to an underlying SecurityManager instance for security checks. |
| Uses of Subject in org.jsecurity.util |
|---|
| Methods in org.jsecurity.util that return Subject | |
|---|---|
static Subject |
ThreadContext.getSubject()
Convenience method that simplifies retrieval of a thread-bound Subject. |
static Subject |
ThreadContext.unbindSubject()
Convenience method that simplifies removal of a thread-local Subject from the thread. |
| Methods in org.jsecurity.util with parameters of type Subject | |
|---|---|
static void |
ThreadContext.bind(Subject subject)
Convenience method that simplifies binding a Subject to the ThreadContext. |
| Uses of Subject in org.jsecurity.web |
|---|
| Methods in org.jsecurity.web that return Subject | |
|---|---|
Subject |
DefaultWebSecurityManager.createSubject()
|
protected Subject |
DefaultWebSecurityManager.createSubject(PrincipalCollection principals,
boolean authenticated,
Session existing,
ServletRequest request,
ServletResponse response)
|
Subject |
DefaultWebSecurityManager.createSubject(ServletRequest request,
ServletResponse response)
|
Subject |
DefaultWebSecurityManager.createSubject(Session existing,
ServletRequest request,
ServletResponse response)
|
| Methods in org.jsecurity.web with parameters of type Subject | |
|---|---|
protected void |
DefaultWebSecurityManager.bind(Subject subject)
|
protected void |
DefaultWebSecurityManager.bind(Subject subject,
ServletRequest request,
ServletResponse response)
|
| Uses of Subject in org.jsecurity.web.filter |
|---|
| Methods in org.jsecurity.web.filter that return Subject | |
|---|---|
protected Subject |
AccessControlFilter.getSubject(ServletRequest request,
ServletResponse response)
Convenience method that acquires the Subject associated with the request. |
| Uses of Subject in org.jsecurity.web.filter.authc |
|---|
| Methods in org.jsecurity.web.filter.authc with parameters of type Subject | |
|---|---|
protected boolean |
FormAuthenticationFilter.onLoginSuccess(AuthenticationToken token,
Subject subject,
ServletRequest request,
ServletResponse response)
|
protected boolean |
AuthenticatingFilter.onLoginSuccess(AuthenticationToken token,
Subject subject,
ServletRequest request,
ServletResponse response)
|
| Uses of Subject in org.jsecurity.web.servlet |
|---|
| Methods in org.jsecurity.web.servlet that return Subject | |
|---|---|
protected Subject |
JSecurityHttpServletRequest.getSubject()
|
| Uses of Subject in org.jsecurity.web.tags |
|---|
| Methods in org.jsecurity.web.tags that return Subject | |
|---|---|
protected Subject |
SecureTag.getSubject()
|
|
JSecurity | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||