Uses of Interface
org.apache.shiro.mgt.SecurityManager
-
Packages that use SecurityManager Package Description org.apache.shiro This package primarily exists as a root classpath distinction, but it does contain two core classes widely used by applications,SecurityUtilsandShiroException.org.apache.shiro.config org.apache.shiro.env Concepts used to represent Shiro's aggregate state in an application.org.apache.shiro.mgt Provides the masterSecurityManagerinterface and a default implementation hierarchy for managing all aspects of Shiro's functionality in an application.org.apache.shiro.subject Components supporting theSubjectinterface, the most important concept in Shiro's API.org.apache.shiro.subject.support Concrete support implementations of most of theorg.apache.shiro.subjectinterfaces.org.apache.shiro.util Your run-of-the-mill 'util' package 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). -
-
Uses of SecurityManager in org.apache.shiro
Methods in org.apache.shiro that return SecurityManager Modifier and Type Method Description static SecurityManagerSecurityUtils. getSecurityManager()Returns the SecurityManager accessible to the calling code.Methods in org.apache.shiro with parameters of type SecurityManager Modifier and Type Method Description static voidSecurityUtils. setSecurityManager(SecurityManager securityManager)Sets a VM (static) singleton SecurityManager, specifically for transparent use in thegetSubject()implementation. -
Uses of SecurityManager in org.apache.shiro.config
Methods in org.apache.shiro.config that return SecurityManager Modifier and Type Method Description protected SecurityManagerIniSecurityManagerFactory. createDefaultInstance()Deprecated.protected SecurityManagerIniSecurityManagerFactory. createInstance(org.apache.shiro.config.Ini ini)Deprecated.Methods in org.apache.shiro.config with parameters of type SecurityManager Modifier and Type Method Description protected voidIniSecurityManagerFactory. applyRealmsToSecurityManager(Collection<Realm> realms, SecurityManager securityManager)Deprecated.protected booleanIniSecurityManagerFactory. isAutoApplyRealms(SecurityManager securityManager)Deprecated. -
Uses of SecurityManager in org.apache.shiro.env
Methods in org.apache.shiro.env that return SecurityManager Modifier and Type Method Description SecurityManagerDefaultEnvironment. getSecurityManager()Returns the application'sSecurityManagerinstance accessible in the backing map using thesecurityManagerNameproperty as the lookup key.SecurityManagerEnvironment. getSecurityManager()Returns the application'sSecurityManagerinstance.protected SecurityManagerDefaultEnvironment. lookupSecurityManager()Looks up theSecurityManagerinstance in the backing map without performing any non-null guarantees.Methods in org.apache.shiro.env with parameters of type SecurityManager Modifier and Type Method Description voidDefaultEnvironment. setSecurityManager(SecurityManager securityManager) -
Uses of SecurityManager in org.apache.shiro.mgt
Classes in org.apache.shiro.mgt that implement SecurityManager Modifier and Type Class Description classAuthenticatingSecurityManagerShiro support of aSecurityManagerclass hierarchy that delegates all authentication operations to a wrappedAuthenticatorinstance.classAuthorizingSecurityManagerShiro support of aSecurityManagerclass hierarchy that delegates all authorization (access control) operations to a wrappedAuthorizerinstance.classCachingSecurityManagerA very basic starting point for the SecurityManager interface that merely provides logging and caching support.classDefaultSecurityManagerThe Shiro framework's default concrete implementation of theSecurityManagerinterface, based around a collection ofRealms.classRealmSecurityManagerShiro support of aSecurityManagerclass hierarchy based around a collection ofRealms.classSessionsSecurityManagerShiro support of aSecurityManagerclass hierarchy that delegates allsessionoperations to a wrappedSessionManagerinstance.Methods in org.apache.shiro.mgt with parameters of type SecurityManager Modifier and Type Method Description protected SubjectDefaultSubjectFactory. newSubjectInstance(PrincipalCollection principals, boolean authenticated, String host, Session session, SecurityManager securityManager)Deprecated.since 1.2 - overrideDefaultSubjectFactory.createSubject(org.apache.shiro.subject.SubjectContext)directly if you need to instantiate a customSubjectclass. -
Uses of SecurityManager in org.apache.shiro.subject
Methods in org.apache.shiro.subject that return SecurityManager Modifier and Type Method Description SecurityManagerSubjectContext. getSecurityManager()Returns the SecurityManager instance that should be used to back the constructedSubjectinstance ornullif one has not yet been provided to this context.SecurityManagerSubjectContext. resolveSecurityManager()Resolves theSecurityManagerinstance that should be used to back the constructedSubjectinstance (typically used to supportDelegatingSubjectimplementations).Methods in org.apache.shiro.subject with parameters of type SecurityManager Modifier and Type Method Description voidSubjectContext. setSecurityManager(SecurityManager securityManager)Sets the SecurityManager instance that should be used to back the constructedSubjectinstance (typically used to supportDelegatingSubjectimplementations).Constructors in org.apache.shiro.subject with parameters of type SecurityManager Constructor Description Builder(SecurityManager securityManager)Constructs a newSubject.Builderinstance which will use the specifiedSecurityManagerwhen building theSubjectinstance. -
Uses of SecurityManager in org.apache.shiro.subject.support
Fields in org.apache.shiro.subject.support declared as SecurityManager Modifier and Type Field Description protected SecurityManagerDelegatingSubject. securityManagerMethods in org.apache.shiro.subject.support that return SecurityManager Modifier and Type Method Description SecurityManagerDefaultSubjectContext. getSecurityManager()SecurityManagerDelegatingSubject. getSecurityManager()SecurityManagerDefaultSubjectContext. resolveSecurityManager()Methods in org.apache.shiro.subject.support with parameters of type SecurityManager Modifier and Type Method Description voidDefaultSubjectContext. setSecurityManager(SecurityManager securityManager)Constructors in org.apache.shiro.subject.support with parameters of type SecurityManager Constructor Description DelegatingSubject(SecurityManager securityManager)DelegatingSubject(PrincipalCollection principals, boolean authenticated, String host, Session session, boolean sessionCreationEnabled, SecurityManager securityManager)DelegatingSubject(PrincipalCollection principals, boolean authenticated, String host, Session session, SecurityManager securityManager) -
Uses of SecurityManager in org.apache.shiro.util
Methods in org.apache.shiro.util that return SecurityManager Modifier and Type Method Description static SecurityManagerThreadContext. getSecurityManager()Convenience method that simplifies retrieval of the application's SecurityManager instance from the current thread.static SecurityManagerThreadContext. unbindSecurityManager()Convenience method that simplifies removal of the application's SecurityManager instance from the thread.Methods in org.apache.shiro.util with parameters of type SecurityManager Modifier and Type Method Description static voidThreadContext. bind(SecurityManager securityManager)Convenience method that simplifies binding the application's SecurityManager instance to the ThreadContext.
-