|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LdapContextFactory | |
---|---|
org.apache.shiro.realm.activedirectory | Realms that acquire security data from a Microsoft Active Directory. |
org.apache.shiro.realm.ldap | 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 LdapContextFactory | |
---|---|
protected AuthenticationInfo |
ActiveDirectoryRealm.queryForAuthenticationInfo(AuthenticationToken token,
LdapContextFactory ldapContextFactory)
Builds an AuthenticationInfo object by querying the active directory LDAP context for the
specified username. |
protected AuthorizationInfo |
ActiveDirectoryRealm.queryForAuthorizationInfo(PrincipalCollection principals,
LdapContextFactory ldapContextFactory)
Builds an AuthorizationInfo object 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 LdapContextFactory | |
---|---|
class |
DefaultLdapContextFactory
Deprecated. replaced by the JndiLdapContextFactory implementation. This implementation will be removed
prior to Shiro 2.0 |
class |
JndiLdapContextFactory
LdapContextFactory implementation using the default Sun/Oracle JNDI Ldap API, utilizing JNDI
environment properties and an InitialContext . |
Methods in org.apache.shiro.realm.ldap that return LdapContextFactory | |
---|---|
LdapContextFactory |
JndiLdapRealm.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 LdapContextFactory | |
---|---|
protected AuthenticationInfo |
JndiLdapRealm.queryForAuthenticationInfo(AuthenticationToken token,
LdapContextFactory ldapContextFactory)
This implementation opens an LDAP connection using the token's discovered principal and provided
credentials . |
protected abstract AuthenticationInfo |
AbstractLdapRealm.queryForAuthenticationInfo(AuthenticationToken token,
LdapContextFactory ldapContextFactory)
Abstract method that should be implemented by subclasses to builds an AuthenticationInfo object by querying the LDAP context for the
specified username. |
protected AuthorizationInfo |
JndiLdapRealm.queryForAuthorizationInfo(PrincipalCollection principals,
LdapContextFactory ldapContextFactory)
Method that should be implemented by subclasses to build an AuthorizationInfo object by querying the LDAP context for the
specified principal. |
protected abstract AuthorizationInfo |
AbstractLdapRealm.queryForAuthorizationInfo(PrincipalCollection principal,
LdapContextFactory ldapContextFactory)
Abstract method that should be implemented by subclasses to builds an AuthorizationInfo object by querying the LDAP context for the
specified principal. |
void |
JndiLdapRealm.setContextFactory(LdapContextFactory contextFactory)
Sets the LdapContextFactory instance used to acquire connections to the LDAP directory during authentication attempts and authorization queries. |
void |
AbstractLdapRealm.setLdapContextFactory(LdapContextFactory ldapContextFactory)
Configures the LdapContextFactory implementation that is used to create LDAP connections for
authentication and authorization. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |