|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SecurityManager
This interface defines methods for access to a security service. A security service must provide two mechanisms: authentication and permissions management. Authentication consist to identify a user and enable him (or not) connecting to the considered system. The management of permissions allows, once the user authenticated, him to have an access (or not) to resources.
In the current version of the Ellipse framework, only authentication is supported. But a future version of the framework will add the concepts of permissions. The Ellipse framework provides the JdbcSecurityManager class : this is, of course, an implementation of this interface that use a relational database to store the security informations.
JdbcSecurityManager,
RoleManager,
UserManager| Method Summary | |
|---|---|
void |
closeSession()
Close the session with the considered security service. |
RoleManager |
getRoleManager()
Returns the role manager associated to this security manager. |
UserManager |
getUserManager()
Returns the user manager associated to this security manager. |
void |
openSession()
Open a session to the considered security service. |
| Method Detail |
|---|
void openSession()
throws SecurityManagerException
SecurityManagerException - Thrown when connection to the security
service cannot be established.
void closeSession()
throws SecurityManagerException
SecurityManagerException - Thrown when connection to the security
service cannot be closed.RoleManager getRoleManager()
UserManager getUserManager()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||