| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SubjectContext | |
|---|---|
| org.apache.shiro.mgt | Provides the master SecurityManagerinterface and a default implementation
 hierarchy for managing all aspects of Shiro's functionality in an application. | 
| org.apache.shiro.subject | Components supporting the Subjectinterface, the most important concept in
 Shiro's API. | 
| org.apache.shiro.subject.support | Concrete support implementations of most of the org.apache.shiro.subjectinterfaces. | 
| 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 SecurityManagerinstance 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 Sessionto ensure it may be referenced if necessary by the
 invokedSubjectFactorythat performs actualSubjectconstruction. | 
| Methods in org.apache.shiro.mgt with parameters of type SubjectContext | |
|---|---|
| protected  PrincipalCollection | AbstractRememberMeManager.convertBytesToPrincipals(byte[] bytes,
                         SubjectContext subjectContext)If a cipherServiceis 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 Subjectinstance reflecting the specified contextual data. | 
|  Subject | DefaultSubjectFactory.createSubject(SubjectContext context) | 
|  Subject | DefaultSecurityManager.createSubject(SubjectContext subjectContext)This implementation functions as follows: Ensures the SubjectContextis 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).
 CallsDefaultSecurityManager.doCreateSubject(org.apache.shiro.subject.SubjectContext)to actually perform theSubjectinstance creation.
 callssave(subject)to ensure the constructedSubject's state is accessible for future requests/invocations if necessary.
 returns the constructedSubjectinstance. | 
| protected  Subject | DefaultSecurityManager.doCreateSubject(SubjectContext context)Actually creates a Subjectinstance by delegating to the internalsubjectFactory. | 
| protected  SubjectContext | DefaultSecurityManager.ensureSecurityManager(SubjectContext context)Determines if there is a SecurityManagerinstance 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 acquiringthe 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 nullif 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 Sessionto ensure it may be referenced if necessary by the
 invokedSubjectFactorythat performs actualSubjectconstruction. | 
| 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 Subjectinstance, available to subclasses
 since thecontextclass attribute is marked asprivate. | 
| protected  SubjectContext | Subject.Builder.newSubjectContextInstance()Creates a new SubjectContextinstance to be used to populate with subject contextual data that
 will then be sent to theSecurityManagerto create a newSubjectinstance. | 
| Uses of SubjectContext in org.apache.shiro.subject.support | 
|---|
| Classes in org.apache.shiro.subject.support that implement SubjectContext | |
|---|---|
|  class | DefaultSubjectContextDefault implementation of the SubjectContextinterface. | 
| Constructors in org.apache.shiro.subject.support with parameters of type SubjectContext | |
|---|---|
| DefaultSubjectContext(SubjectContext ctx) | |
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||