Inheritance diagram for org.objectweb.jonas.security.JonasSecurityServiceImpl:
Public Member Functions | |
void | doInit (Context ctx) throws ServiceException |
void | removeJResource (String resourceName) throws Exception |
void | doStart () throws ServiceException |
void | doStop () |
JResource | getJResource (String name) |
String | toXML () |
String | encryptPassword (String string, String algo) throws NoSuchAlgorithmException |
boolean | isValidAlgorithm (String algo) |
void | addResources (String xml) throws Exception |
void | addJResourceMemory (String name) throws Exception |
void | addJResourceDS (String name, String dsName, String userTable, String userTableUsernameCol, String userTablePasswordCol, String roleTable, String roleTableUsernameCol, String roleTableRolenameCol, String algorithm) throws Exception |
void | addJResourceLDAP (String name, String initialContextFactory, String providerUrl, String securityAuthentication, String securityPrincipal, String securityCredentials, String securityProtocol, String language, String referral, String stateFactories, String authenticationMode, String userPasswordAttribute, String userRolesAttribute, String roleNameAttribute, String baseDN, String userDN, String userSearchFilter, String roleDN, String roleSearchFilter, String algorithm) throws Exception |
void | bindResource (String name, JResource jResource) |
Static Public Attributes | |
final String | CLASS = "jonas.service.security.class" |
Protected Member Functions | |
File | getConfigFile () throws FileNotFoundException |
Static Protected Attributes | |
final String | CONFIG_FILE = "conf" + File.separator + "jonas-realm.xml" |
Florent Benoit
Definition at line 66 of file JonasSecurityServiceImpl.java.
|
Here is the call graph for this function:
|
Add a LDAP resource
Implements org.objectweb.jonas.security.JonasSecurityServiceImplMBean. Definition at line 418 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.JonasSecurityServiceImpl.addResources(), 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(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.setUserSearchFilter(), and org.objectweb.jonas.security.realm.factory.JResourceLDAP.toXML(). |
Here is the call graph for this function:
|
Add a Memory resource
Implements org.objectweb.jonas.security.JonasSecurityServiceImplMBean. Definition at line 320 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.JonasSecurityServiceImpl.addResources(), org.objectweb.jonas.security.realm.factory.JResource.setName(), and org.objectweb.jonas.security.realm.factory.JResourceMemory.toXML(). |
Here is the call graph for this function:
|
Add JResources with a given xml configuration
Implements org.objectweb.jonas.security.JonasSecurityServiceImplMBean. Definition at line 303 of file JonasSecurityServiceImpl.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), and org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceMemory(). |
|
Bind the given resource with the given name and register with a new MBean.
Implements org.objectweb.jonas.security.SecurityService. Definition at line 480 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.realm.factory.JResource.getName(). |
Here is the call graph for this function:
|
Init the Service. Configuration information is passed thru a Context object.
Definition at line 104 of file JonasSecurityServiceImpl.java. |
|
Start the Service Initialization of the service is already done.
Definition at line 176 of file JonasSecurityServiceImpl.java. |
|
Stop the Service Definition at line 194 of file JonasSecurityServiceImpl.java. |
|
Encrypt a string with an algorithm
Implements org.objectweb.jonas.security.JonasSecurityServiceImplMBean. Definition at line 276 of file JonasSecurityServiceImpl.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.isValidAlgorithm(). |
|
Return a File object representing the jonas-realm.xml configuration file.
Definition at line 249 of file JonasSecurityServiceImpl.java. |
|
Return a resource by giving its name
Implements org.objectweb.jonas.security.SecurityService. Definition at line 213 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.JResources.getJResource(). |
Here is the call graph for this function:
|
Check if the given algorithm is a valid algorithm
Implements org.objectweb.jonas.security.JonasSecurityServiceImplMBean. Definition at line 288 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.JonasSecurityServiceImpl.encryptPassword(). |
Here is the call graph for this function:
|
Remove the Resource (memory, ldap, datasource,...)
Implements org.objectweb.jonas.security.JonasSecurityServiceImplMBean. Definition at line 136 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.JResources.remove(), and org.objectweb.jonas.security.realm.factory.JResource.removeMBeans(). |
Here is the call graph for this function:
|
String representation of the JOnAS realm
Implements org.objectweb.jonas.security.SecurityService. Definition at line 264 of file JonasSecurityServiceImpl.java. References org.objectweb.jonas.security.JResources.toXML(). |
Here is the call graph for this function:
|
Security service configuration properties Definition at line 76 of file JonasSecurityServiceImpl.java. |
|
Relative path of the realm configuration file Definition at line 81 of file JonasSecurityServiceImpl.java. |