|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
public abstract class BaseMemoryRealmAction
Field Summary |
---|
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction |
---|
DEPTH_DOMAIN, DEPTH_SERVER, m_Errors, m_Resources, m_Session, m_WhereAreYou |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
BaseMemoryRealmAction()
|
Method Summary | |
---|---|
protected java.lang.String |
encryptPassword(java.lang.String p_Password,
java.lang.String p_EncrypMethod,
java.lang.String jonasServerName)
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,
java.lang.String jonasServerName)
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,
java.lang.String jonasServerName)
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, getDomainDeploymentMethodName, getDomainUploadDeployMethodName, getForwardEdit, getListDeployableFiles, getListDeployedFiles, isConfigurable, isDomain, isModule, refreshJoramTree, refreshMBeansTree, refreshServiceTree, refreshWebServiceTree, removeFile, runGC, setCurrentJonasDeployment, undeploy, undeployDataSource, undeployMailFactory |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
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, java.lang.String jonasServerName) 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, java.lang.String jonasServerName) 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, java.lang.String jonasServerName) 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 |