Uses of Interface
org.apache.shiro.realm.ldap.LdapContextFactory
Packages that use LdapContextFactory
Package
Description
Realms that acquire security data from a Microsoft Active Directory.
Realms that acquire security data from an LDAP (Lightweight Directory Access Protocol) server
utilizing LDAP/Naming APIs.
-
Uses of LdapContextFactory in org.apache.shiro.realm.activedirectory
Methods in org.apache.shiro.realm.activedirectory with parameters of type LdapContextFactoryModifier and TypeMethodDescriptionprotected AuthenticationInfoActiveDirectoryRealm.queryForAuthenticationInfo(AuthenticationToken token, LdapContextFactory ldapContextFactory) Builds anAuthenticationInfoobject by querying the active directory LDAP context for the specified username.protected AuthorizationInfoActiveDirectoryRealm.queryForAuthorizationInfo(PrincipalCollection principals, LdapContextFactory ldapContextFactory) Builds anAuthorizationInfoobject by querying the active directory LDAP context for the groups that a user is a member of. -
Uses of LdapContextFactory in org.apache.shiro.realm.ldap
Classes in org.apache.shiro.realm.ldap that implement LdapContextFactoryModifier and TypeClassDescriptionclassLdapContextFactoryimplementation using the default Sun/Oracle JNDI Ldap API, utilizing JNDI environment properties and anInitialContext.Methods in org.apache.shiro.realm.ldap that return LdapContextFactoryModifier and TypeMethodDescriptionDefaultLdapRealm.getContextFactory()Returns the LdapContextFactory instance used to acquire connections to the LDAP directory during authentication attempts and authorization queries.Methods in org.apache.shiro.realm.ldap with parameters of type LdapContextFactoryModifier and TypeMethodDescriptionprotected abstract AuthenticationInfoAbstractLdapRealm.queryForAuthenticationInfo(AuthenticationToken token, LdapContextFactory ldapContextFactory) Abstract method that should be implemented by subclasses to builds anAuthenticationInfoobject by querying the LDAP context for the specified username.protected AuthenticationInfoDefaultLdapRealm.queryForAuthenticationInfo(AuthenticationToken token, LdapContextFactory ldapContextFactory) This implementation opens an LDAP connection using the token'sdiscovered principaland providedcredentials.protected abstract AuthorizationInfoAbstractLdapRealm.queryForAuthorizationInfo(PrincipalCollection principal, LdapContextFactory ldapContextFactory) Abstract method that should be implemented by subclasses to builds anAuthorizationInfoobject by querying the LDAP context for the specified principal.protected AuthorizationInfoDefaultLdapRealm.queryForAuthorizationInfo(PrincipalCollection principals, LdapContextFactory ldapContextFactory) Method that should be implemented by subclasses to build anAuthorizationInfoobject by querying the LDAP context for the specified principal.voidDefaultLdapRealm.setContextFactory(LdapContextFactory contextFactory) Sets the LdapContextFactory instance used to acquire connections to the LDAP directory during authentication attempts and authorization queries.voidAbstractLdapRealm.setLdapContextFactory(LdapContextFactory ldapContextFactory) Configures theLdapContextFactoryimplementation that is used to create LDAP connections for authentication and authorization.