| org.objectweb.jonas.webapp.jonasadmin.security.BaseSecurityAction org.objectweb.jonas.webapp.jonasadmin.security.BaseMemoryRealmAction
All known Subclasses: org.objectweb.jonas.webapp.jonasadmin.security.EditUserMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyDatasourceRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyRoleMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyConfirmMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditNewRoleMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditGroupMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditMemoryRealmRolesAction, org.objectweb.jonas.webapp.jonasadmin.security.EditRoleMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyGroupMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditNewGroupMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyLdapRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditMemoryRealmGroupsAction, org.objectweb.jonas.webapp.jonasadmin.security.EditNewUserMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.EditMemoryRealmUsersAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyUserMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ApplyMemoryRealmAction, org.objectweb.jonas.webapp.jonasadmin.security.ListRealmsAction,
Method Summary | |
protected String | encryptPassword(String p_Password, String p_EncrypMethod, String jonasServerName) Encrypt a password with MBean security service method. | protected MemoryRealmForm | getForm(ActionMapping p_Mapping, HttpServletRequest p_Request) | protected void | populateGroupForm(MemoryRealmForm p_RealmForm, GroupMemoryRealmForm p_GroupForm, String p_GroupName, String jonasServerName) Populate the GroupMemoryRealmForm with MBeans. | protected void | populateRoleForm(MemoryRealmForm p_RealmForm, RoleMemoryRealmForm p_RoleForm, String p_RoleName) Populate the RoleMemoryRealmForm with MBeans. | protected void | populateUserForm(MemoryRealmForm p_RealmForm, UserMemoryRealmForm p_UserForm, String p_UserName, String jonasServerName) Populate the UserMemoryRealmForm with MBeans. | protected void | removeItemsMemoryRealmForm(String p_Type) Remove of session the ItemsMemoryRealmForm instance
if the given type is different of the current type. |
encryptPassword | protected String encryptPassword(String p_Password, String p_EncrypMethod, String jonasServerName) throws Exception(Code) | | Encrypt a password with MBean security service method.
Parameters: p_Password - Password to encrypt Parameters: p_EncrypMethod - MD5 or SHA string The encrypted password throws: Exception - |
populateGroupForm | protected void populateGroupForm(MemoryRealmForm p_RealmForm, GroupMemoryRealmForm p_GroupForm, String p_GroupName, String jonasServerName) throws Exception(Code) | | Populate the GroupMemoryRealmForm with MBeans.
If the user name is null, the Group MBean is not called to populate the form.
Parameters: p_RealmForm - Used for the resource name Parameters: p_GroupForm - Form to populate Parameters: p_GroupName - The user (Can be null) throws: Exception - |
populateRoleForm | protected void populateRoleForm(MemoryRealmForm p_RealmForm, RoleMemoryRealmForm p_RoleForm, String p_RoleName) throws Exception(Code) | | Populate the RoleMemoryRealmForm with MBeans.
If the Role name is null, the Role MBean is not called to populate the form.
Parameters: p_RealmForm - Used for the resource name Parameters: p_RoleForm - Form to populate Parameters: p_RoleName - The user (Can be null) throws: Exception - |
populateUserForm | protected void populateUserForm(MemoryRealmForm p_RealmForm, UserMemoryRealmForm p_UserForm, String p_UserName, String jonasServerName) throws Exception(Code) | | Populate the UserMemoryRealmForm with MBeans.
If the user name is null, the User MBean is not called to populate the form.
Parameters: p_RealmForm - Used for the resource name Parameters: p_UserForm - Form to populate Parameters: p_UserName - The user (Can be null) throws: Exception - |
removeItemsMemoryRealmForm | protected void removeItemsMemoryRealmForm(String p_Type)(Code) | | Remove of session the ItemsMemoryRealmForm instance
if the given type is different of the current type.
Parameters: p_Type - Current type (user, role, group) |
|
|