Inheritance diagram for org.objectweb.jonas.security.realm.factory.JResourceLDAP:
Public Member Functions | |
JResourceLDAP () throws Exception | |
User | findUser (String username) throws JResourceException |
boolean | isValidUser (User user, String credentials) |
boolean | isValidUserBind (User user, String credentials) |
boolean | isValidUserCompare (User user, String credentials) |
ArrayList | getArrayListCombinedRoles (User user) throws JResourceException |
String | toXML () |
String | toString () |
Reference | getReference () throws NamingException |
void | setInitialContextFactory (String initialContextFactory) |
void | setProviderUrl (String providerUrl) |
void | setSecurityAuthentication (String securityAuthentication) |
void | setSecurityPrincipal (String securityPrincipal) |
void | setSecurityCredentials (String securityCredentials) |
void | setSecurityProtocol (String securityProtocol) |
void | setLanguage (String language) |
void | setReferral (String referral) |
void | setStateFactories (String stateFactories) |
void | setAuthenticationMode (String authenticationMode) |
void | setUserPasswordAttribute (String userPasswordAttribute) |
void | setUserRolesAttribute (String userRolesAttribute) |
void | setRoleNameAttribute (String roleNameAttribute) |
void | setBaseDN (String baseDN) |
void | setUserDN (String userDN) |
void | setUserSearchFilter (String userSearchFilter) |
void | setRoleDN (String roleDN) |
void | setRoleSearchFilter (String roleSearchFilter) |
void | setAlgorithm (String algorithm) |
String | getInitialContextFactory () |
String | getProviderUrl () |
String | getSecurityAuthentication () |
String | getSecurityPrincipal () |
String | getSecurityCredentials () |
String | getSecurityProtocol () |
String | getLanguage () |
String | getReferral () |
String | getStateFactories () |
String | getAuthenticationMode () |
String | getUserPasswordAttribute () |
String | getUserRolesAttribute () |
String | getRoleNameAttribute () |
String | getBaseDN () |
String | getUserDN () |
String | getUserSearchFilter () |
String | getRoleDN () |
String | getRoleSearchFilter () |
String | getAlgorithm () |
void | removeMBeans () throws JResourceException |
Protected Member Functions | |
DirContext | getDirContext () throws NamingException |
Emmanuel Rias (12/03 some improvements)
Definition at line 63 of file JResourceLDAP.java.
|
Constructor : use the super constructor
Definition at line 194 of file JResourceLDAP.java. |
|
Check if a user is found and return it
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 204 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.factory.JResourceLDAP.getDirContext(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.principals.LDAPUser.setDN(), org.objectweb.jonas.security.realm.principals.User.setName(), org.objectweb.jonas.security.realm.principals.User.setPassword(), and org.objectweb.jonas.security.realm.principals.User.setRoles(). |
Here is the call graph for this function:
|
Get the default algorithm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 1022 of file JResourceLDAP.java. |
|
Get all the roles (from the roles and from the groups) of the given user
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 441 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.principals.User.getArrayRoles(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.getDirContext(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), and org.objectweb.jonas.security.realm.principals.User.setCombinedRoles(). |
Here is the call graph for this function:
|
Get the mode for validate the authentication of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 947 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the DN used for the lookup of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 979 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Return a dircontext for this LDAP server
Definition at line 1031 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.findUser(), and org.objectweb.jonas.security.realm.factory.JResourceLDAP.getArrayListCombinedRoles(). |
|
Return the initial context factory of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 873 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the preferred language to use with the service of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 922 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the Url of the ldap server of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 881 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Here is the call graph for this function:
|
Get how referrals encountered by the service provider are to be processed
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 931 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the DN used when searching the role DN. Override the baseDN if it is defined
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 1006 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the role name when performing a lookup on a role
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 971 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the filter used when searching the role
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 1014 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the authentication used during the authentication to the LDAP server of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 890 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the Credential(password) of the principal of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 906 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the DN of the Principal(username) of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 898 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the security protocol to use of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 914 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the the list of state factories of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 939 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the DN used when searching the user DN. Override the baseDN if it is defined
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 988 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the attribute in order to get the password of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 955 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the attribute in order to get the user role from the ldap server
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 963 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Get the filter used when searching the user
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 996 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getReference(). |
|
Check if the given user with the given credential is a valid user
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 323 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.isValidUserBind(), and org.objectweb.jonas.security.realm.factory.JResourceLDAP.isValidUserCompare(). |
Here is the call graph for this function:
|
Check if the given user with the given credential is a valid user. Check is done by binding to the LDAP server with the specific principal/credential.
Definition at line 358 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.principals.LDAPUser.getDN(), and org.objectweb.jonas.security.realm.factory.JResource.getLogger(). Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.isValidUser(). |
Here is the call graph for this function:
|
Check if the given user with the given credential is a valid user. Check is done by comparing the given credential with the credential which is retrieved from the LDAP server.
Definition at line 404 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.principals.User.getHashPassword(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.principals.User.getPassword(), and org.objectweb.jonas.security.realm.principals.User.hashPassword. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.isValidUser(). |
Here is the call graph for this function:
|
Remove all the Mbeans used by this resource
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 1175 of file JResourceLDAP.java. |
|
Set the default algorithm to use
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 865 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the mode for validate the authentication of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 783 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the DN used for the lookup of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 817 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the initial context factory of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 707 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the preferred language to use with the service of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 757 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the Url of the ldap server of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 715 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set how referrals encountered by the service provider are to be processed
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 766 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the DN used when searching the role DN. Override the baseDN if it is defined
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 849 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the role name when performing a lookup on a role
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 809 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the filter used when searching the role
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 857 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the authentication used during the authentication to the LDAP server of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 725 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the Credential(password) of the principal of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 741 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the DN of the Principal(username) of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 733 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the security protocol to use of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 749 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the the list of state factories of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 774 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the DN used when searching the user DN. Override the baseDN if it is defined
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 829 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the attribute in order to get the password of this LDAP realm
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 792 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the attribute in order to get the user role from the ldap server
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 801 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
Set the filter used when searching the user
Implements org.objectweb.jonas.security.realm.factory.JResourceLDAPMBean. Definition at line 839 of file JResourceLDAP.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(). |
|
The string representation of this object is an XML value
Definition at line 660 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.principals.User.toXML(). |
Here is the call graph for this function:
|
String representation of the LDAP realm
Definition at line 548 of file JResourceLDAP.java. References org.objectweb.jonas.security.realm.factory.JResource.getName(), and org.objectweb.jonas.security.realm.principals.User.toString(). Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(). |
Here is the call graph for this function: