|
Creates a javax.mail.Session object using the location or reference information specified. - Parameters:
-
| obj | the possibly null object containing location or reference information that can be used in creating an object. |
| name | the name of this object relative to nameCtx, or null if no name is specified. |
| nameCtx | the context relative to which the name parameter is specified, or null if name is relative to the default initial context. |
| environment | the possibly null environment that is used in creating the object. |
- Returns:
- a newly created javax.mail.Session object with the specific configuration; null if an object cannot be created.
- Exceptions:
-
| Exception | if this object factory encountered an exception while attempting to create an object, and no other object factories are to be tried. |
Implements org.objectweb.jonas.security.realm.factory.JResourceFactory.
Definition at line 70 of file JResourceLDAPFactory.java.
References org.objectweb.jonas.security.realm.factory.JResourceFactory.getLogger(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setAlgorithm(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setAuthenticationMode(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setBaseDN(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setInitialContextFactory(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setLanguage(), org.objectweb.jonas.security.realm.factory.JResource.setName(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setProviderUrl(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setReferral(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setRoleDN(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setRoleNameAttribute(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setRoleSearchFilter(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setSecurityAuthentication(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setSecurityCredentials(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setSecurityPrincipal(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setSecurityProtocol(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setStateFactories(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setUserDN(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setUserPasswordAttribute(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setUserRolesAttribute(), and org.objectweb.jonas.security.realm.factory.JResourceLDAP.setUserSearchFilter(). |