Uses of Interface
org.apache.shiro.subject.SubjectContext

Packages that use SubjectContext
org.apache.shiro.cas   
org.apache.shiro.mgt Provides the master SecurityManager interface and a default implementation hierarchy for managing all aspects of Shiro's functionality in an application. 
org.apache.shiro.subject Components supporting the Subject interface, the most important concept in Shiro's API. 
org.apache.shiro.subject.support Concrete support implementations of most of the org.apache.shiro.subject interfaces. 
org.apache.shiro.web.mgt Components supporting web-specific SecurityManager implementations. 
org.apache.shiro.web.subject Web-specific Subject interfaces to enable Subject use in web environments. 
org.apache.shiro.web.subject.support Supporting implementations of org.apache.shiro.web.subject package interfaces. 
 

Uses of SubjectContext in org.apache.shiro.cas
 

Methods in org.apache.shiro.cas with parameters of type SubjectContext
 Subject CasSubjectFactory.createSubject(SubjectContext context)
           
 

Uses of SubjectContext in org.apache.shiro.mgt
 

Methods in org.apache.shiro.mgt that return SubjectContext
protected  SubjectContext DefaultSecurityManager.copy(SubjectContext subjectContext)
           
protected  SubjectContext DefaultSecurityManager.createSubjectContext()
           
protected  SubjectContext DefaultSecurityManager.ensureSecurityManager(SubjectContext context)
          Determines if there is a SecurityManager instance in the context, and if not, adds 'this' to the context.
protected  SubjectContext DefaultSecurityManager.resolvePrincipals(SubjectContext context)
          Attempts to resolve an identity (a PrincipalCollection) for the context using heuristics.
protected  SubjectContext DefaultSecurityManager.resolveSession(SubjectContext context)
          Attempts to resolve any associated session based on the context and returns a context that represents this resolved Session to ensure it may be referenced if necessary by the invoked SubjectFactory that performs actual Subject construction.
 

Methods in org.apache.shiro.mgt with parameters of type SubjectContext
protected  PrincipalCollection AbstractRememberMeManager.convertBytesToPrincipals(byte[] bytes, SubjectContext subjectContext)
          If a cipherService is available, it will be used to first decrypt the byte array.
protected  SubjectContext DefaultSecurityManager.copy(SubjectContext subjectContext)
           
protected  SessionContext DefaultSecurityManager.createSessionContext(SubjectContext subjectContext)
           
 Subject SubjectFactory.createSubject(SubjectContext context)
          Creates a new Subject instance reflecting the state of the specified contextual data.
 Subject SecurityManager.createSubject(SubjectContext context)
          Creates a Subject instance reflecting the specified contextual data.
 Subject DefaultSubjectFactory.createSubject(SubjectContext context)
           
 Subject DefaultSecurityManager.createSubject(SubjectContext subjectContext)
          This implementation functions as follows:

Ensures the SubjectContext is as populated as it can be, using heuristics to acquire data that may not have already been available to it (such as a referenced session or remembered principals). Calls DefaultSecurityManager.doCreateSubject(org.apache.shiro.subject.SubjectContext) to actually perform the Subject instance creation. calls save(subject) to ensure the constructed Subject's state is accessible for future requests/invocations if necessary. returns the constructed Subject instance.

protected  Subject DefaultSecurityManager.doCreateSubject(SubjectContext context)
          Actually creates a Subject instance by delegating to the internal subjectFactory.
protected  SubjectContext DefaultSecurityManager.ensureSecurityManager(SubjectContext context)
          Determines if there is a SecurityManager instance in the context, and if not, adds 'this' to the context.
 void RememberMeManager.forgetIdentity(SubjectContext subjectContext)
          Forgets any remembered identity corresponding to the subject context map being used to build a subject instance.
protected  PrincipalCollection DefaultSecurityManager.getRememberedIdentity(SubjectContext subjectContext)
           
 PrincipalCollection RememberMeManager.getRememberedPrincipals(SubjectContext subjectContext)
          Based on the specified subject context map being used to build a Subject instance, returns any previously remembered principals for the subject for automatic identity association (aka 'Remember Me').
 PrincipalCollection AbstractRememberMeManager.getRememberedPrincipals(SubjectContext subjectContext)
          Implements the interface method by first acquiring the remembered serialized byte array.
protected abstract  byte[] AbstractRememberMeManager.getRememberedSerializedIdentity(SubjectContext subjectContext)
          Based on the given subject context data, retrieves the previously persisted serialized identity, or null if there is no available data.
protected  SessionKey DefaultSecurityManager.getSessionKey(SubjectContext context)
           
protected  PrincipalCollection AbstractRememberMeManager.onRememberedPrincipalFailure(RuntimeException e, SubjectContext context)
          Called when an exception is thrown while trying to retrieve principals.
protected  Session DefaultSecurityManager.resolveContextSession(SubjectContext context)
           
protected  SubjectContext DefaultSecurityManager.resolvePrincipals(SubjectContext context)
          Attempts to resolve an identity (a PrincipalCollection) for the context using heuristics.
protected  SubjectContext DefaultSecurityManager.resolveSession(SubjectContext context)
          Attempts to resolve any associated session based on the context and returns a context that represents this resolved Session to ensure it may be referenced if necessary by the invoked SubjectFactory that performs actual Subject construction.
 

Uses of SubjectContext in org.apache.shiro.subject
 

Methods in org.apache.shiro.subject that return SubjectContext
protected  SubjectContext Subject.Builder.getSubjectContext()
          Returns the backing context used to build the Subject instance, available to subclasses since the context class attribute is marked as private.
protected  SubjectContext Subject.Builder.newSubjectContextInstance()
          Creates a new SubjectContext instance to be used to populate with subject contextual data that will then be sent to the SecurityManager to create a new Subject instance.
 

Uses of SubjectContext in org.apache.shiro.subject.support
 

Classes in org.apache.shiro.subject.support that implement SubjectContext
 class DefaultSubjectContext
          Default implementation of the SubjectContext interface.
 

Constructors in org.apache.shiro.subject.support with parameters of type SubjectContext
DefaultSubjectContext(SubjectContext ctx)
           
 

Uses of SubjectContext in org.apache.shiro.web.mgt
 

Methods in org.apache.shiro.web.mgt that return SubjectContext
protected  SubjectContext DefaultWebSecurityManager.copy(SubjectContext subjectContext)
           
protected  SubjectContext DefaultWebSecurityManager.createSubjectContext()
           
 

Methods in org.apache.shiro.web.mgt with parameters of type SubjectContext
protected  SubjectContext DefaultWebSecurityManager.copy(SubjectContext subjectContext)
           
protected  SessionContext DefaultWebSecurityManager.createSessionContext(SubjectContext subjectContext)
           
 Subject DefaultWebSubjectFactory.createSubject(SubjectContext context)
           
 void CookieRememberMeManager.forgetIdentity(SubjectContext subjectContext)
          Removes the 'rememberMe' cookie from the associated WebSubjectContext's request/response pair.
protected  byte[] CookieRememberMeManager.getRememberedSerializedIdentity(SubjectContext subjectContext)
          Returns a previously serialized identity byte array or null if the byte array could not be acquired.
protected  SessionKey DefaultWebSecurityManager.getSessionKey(SubjectContext context)
           
 

Uses of SubjectContext in org.apache.shiro.web.subject
 

Subinterfaces of SubjectContext in org.apache.shiro.web.subject
 interface WebSubjectContext
          A WebSubjectContext is a SubjectContext that additionally provides for type-safe methods to set and retrieve a ServletRequest and ServletResponse.
 

Methods in org.apache.shiro.web.subject that return SubjectContext
protected  SubjectContext WebSubject.Builder.newSubjectContextInstance()
          Overrides the parent implementation to return a new instance of a DefaultWebSubjectContext to account for the additional request/response pair.
 

Uses of SubjectContext in org.apache.shiro.web.subject.support
 

Classes in org.apache.shiro.web.subject.support that implement SubjectContext
 class DefaultWebSubjectContext
          Default WebSubjectContext implementation that provides for additional storage and retrieval of a ServletRequest and ServletResponse.
 



Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.