org.jboss.seam.security.management.action
Class UserAction

java.lang.Object
  extended by org.jboss.seam.security.management.action.UserAction
All Implemented Interfaces:
Serializable

@Named
@ConversationScoped
public class UserAction
extends Object
implements Serializable

A conversation-scoped component for creating and managing user accounts

Author:
Shane Bryzak
See Also:
Serialized Form

Constructor Summary
UserAction()
           
 
Method Summary
 void addRole()
           
 void cancel()
           
 void createUser()
           
 void deleteUser(String username)
           
 void editUser(String username)
           
 String getConfirm()
           
 String getFirstname()
           
 String getLastname()
           
 String getPassword()
           
 org.picketlink.idm.api.Group getRoleGroup()
           
 Collection<org.picketlink.idm.api.Group> getRoleGroups()
           
 Collection<org.picketlink.idm.api.Role> getRoles()
           
 org.picketlink.idm.api.RoleType getRoleType()
           
 Collection<org.picketlink.idm.api.RoleType> getRoleTypes()
           
 String getUsername()
           
 boolean isEnabled()
           
 String roleSave()
           
 String save()
           
 void setConfirm(String confirm)
           
 void setEnabled(boolean enabled)
           
 void setFirstname(String firstname)
           
 void setLastname(String lastname)
           
 void setPassword(String password)
           
 void setRoleGroup(org.picketlink.idm.api.Group roleGroup)
           
 void setRoles(List<org.picketlink.idm.api.Role> roles)
           
 void setRoleType(org.picketlink.idm.api.RoleType roleType)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAction

public UserAction()
Method Detail

createUser

public void createUser()

editUser

public void editUser(String username)
              throws org.picketlink.idm.common.exception.IdentityException,
                     org.picketlink.idm.common.exception.FeatureNotSupportedException
Throws:
org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.FeatureNotSupportedException

addRole

public void addRole()
             throws org.picketlink.idm.common.exception.IdentityException,
                    org.picketlink.idm.common.exception.FeatureNotSupportedException
Throws:
org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.FeatureNotSupportedException

roleSave

public String roleSave()

deleteUser

public void deleteUser(String username)
                throws org.picketlink.idm.common.exception.IdentityException
Throws:
org.picketlink.idm.common.exception.IdentityException

save

public String save()
            throws org.picketlink.idm.common.exception.IdentityException,
                   org.picketlink.idm.common.exception.FeatureNotSupportedException
Throws:
org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.FeatureNotSupportedException

cancel

public void cancel()

getFirstname

public String getFirstname()

setFirstname

public void setFirstname(String firstname)

getLastname

public String getLastname()

setLastname

public void setLastname(String lastname)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getConfirm

public String getConfirm()

setConfirm

public void setConfirm(String confirm)

getRoles

public Collection<org.picketlink.idm.api.Role> getRoles()

setRoles

public void setRoles(List<org.picketlink.idm.api.Role> roles)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

getRoleType

public org.picketlink.idm.api.RoleType getRoleType()

setRoleType

public void setRoleType(org.picketlink.idm.api.RoleType roleType)

getRoleGroup

public org.picketlink.idm.api.Group getRoleGroup()

setRoleGroup

public void setRoleGroup(org.picketlink.idm.api.Group roleGroup)

getRoleTypes

public Collection<org.picketlink.idm.api.RoleType> getRoleTypes()

getRoleGroups

public Collection<org.picketlink.idm.api.Group> getRoleGroups()


Copyright © 2011 Seam Framework. All Rights Reserved.