|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction
org.objectweb.jonas.webapp.jonasadmin.security.BaseSecurityAction
org.objectweb.jonas.webapp.jonasadmin.security.BaseMemoryRealmAction
Field Summary |
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction |
DEPTH_DOMAIN, DEPTH_SERVER, domainName, m_Errors, m_Resources, m_Session, m_WhereAreYou, serverName |
Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
Constructor Summary | |
BaseMemoryRealmAction()
|
Method Summary | |
protected java.lang.String |
encryptPassword(java.lang.String p_Password,
java.lang.String p_EncrypMethod)
Encrypt a password with MBean security service method. |
protected MemoryRealmForm |
getForm(org.apache.struts.action.ActionMapping p_Mapping,
javax.servlet.http.HttpServletRequest p_Request)
|
protected void |
populateGroupForm(MemoryRealmForm p_RealmForm,
GroupMemoryRealmForm p_GroupForm,
java.lang.String p_GroupName)
Populate the GroupMemoryRealmForm with MBeans.
|
protected void |
populateRoleForm(MemoryRealmForm p_RealmForm,
RoleMemoryRealmForm p_RoleForm,
java.lang.String p_RoleName)
Populate the RoleMemoryRealmForm with MBeans.
|
protected void |
populateUserForm(MemoryRealmForm p_RealmForm,
UserMemoryRealmForm p_UserForm,
java.lang.String p_UserName)
Populate the UserMemoryRealmForm with MBeans.
|
protected void |
removeItemsMemoryRealmForm(java.lang.String p_Type)
Remove of session the ItemsMemoryRealmForm instance
if the given type is different of the current type. |
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.security.BaseSecurityAction |
refreshSecurityTree, refreshTree |
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction |
deploy, deployDataSource, deployMailFactory, getCurrentJonasDeployment, getForwardEdit, getListDeployableFiles, getListDeployedFiles, refreshJoramTree, refreshMBeansTree, refreshServiceTree, refreshTree, runGC, setCurrentJonasDeployment, undeploy, undeployDataSource, undeployMailFactory |
Methods inherited from class org.apache.struts.action.Action |
execute, execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseMemoryRealmAction()
Method Detail |
protected MemoryRealmForm getForm(org.apache.struts.action.ActionMapping p_Mapping, javax.servlet.http.HttpServletRequest p_Request)
protected void removeItemsMemoryRealmForm(java.lang.String p_Type)
ItemsMemoryRealmForm
instance
if the given type is different of the current type.
p_Type
- Current type (user, role, group)protected void populateUserForm(MemoryRealmForm p_RealmForm, UserMemoryRealmForm p_UserForm, java.lang.String p_UserName) throws java.lang.Exception
UserMemoryRealmForm
with MBeans.
If the user name is null, the User MBean is not called to populate the form.
p_RealmForm
- Used for the resource namep_UserForm
- Form to populatep_UserName
- The user (Can be null)
java.lang.Exception
protected java.lang.String encryptPassword(java.lang.String p_Password, java.lang.String p_EncrypMethod) throws java.lang.Exception
p_Password
- Password to encryptp_EncrypMethod
- MD5 or SHA string
java.lang.Exception
protected void populateRoleForm(MemoryRealmForm p_RealmForm, RoleMemoryRealmForm p_RoleForm, java.lang.String p_RoleName) throws java.lang.Exception
RoleMemoryRealmForm
with MBeans.
If the Role name is null, the Role MBean is not called to populate the form.
p_RealmForm
- Used for the resource namep_RoleForm
- Form to populatep_RoleName
- The user (Can be null)
java.lang.Exception
protected void populateGroupForm(MemoryRealmForm p_RealmForm, GroupMemoryRealmForm p_GroupForm, java.lang.String p_GroupName) throws java.lang.Exception
GroupMemoryRealmForm
with MBeans.
If the user name is null, the Group MBean is not called to populate the form.
p_RealmForm
- Used for the resource namep_GroupForm
- Form to populatep_GroupName
- The user (Can be null)
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |