Chapter 3. User Portlet
Prev |  | Next

## Chapter 3. User Portlet

### Thomas Heute

`<theute@jboss.org>`

## 3.1. Introduction

The user portlet is dedicated to create and manage users and their profiles.

## 3.2. Functionalities

Managing users using the user module consists in:

- Allowing a user to register a new profile with a login and password
- Allowing a user to log in the sytem and be recognized as member of user groups
- Allowing a user to update a profile with more information like his real name, instant messenger informations...
- Allowing an administrator to see the list of users, from there he can assign roles to a user
- Allowing as administrator to assign roles to a user
- Allowing a user to logout

## 3.3. Portlet configuration

Here is a list of attributes that you can define in the portlet.xml file:

- `subscriptionMode`
  - `automatic`

    The user can register and is automatically enabled

  - `emailVerification`(Not yet implemented)

    The user is enabled till the user open in his browser a link sent by email to the address he specified.

- `emailFrom`

  Email address that will appear in the "From" header when the system will send an email to a user

- `defaultRole`

  Default role assigned to new users by default

Prev | Up | Next
Chapter 2. Installation | Home | Chapter 4. Role Portlet