|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.security.realm.JRealmJAASJetty42
Implementation of a JAAS Realm. (by a wrapper) It uses the entry JAAS_CONFIG_NAME from the JAAS config file
Constructor Summary | |
JRealmJAASJetty42()
Constructor |
|
JRealmJAASJetty42(java.lang.String name)
Constructor |
Method Summary | |
UserPrincipal |
authenticate(java.lang.String username,
java.lang.Object credentials,
HttpRequest request)
Authenticate a user with a specific username and credentials |
void |
disassociate(UserPrincipal user)
Disassociate a user Not implemented |
java.lang.String |
getName()
|
UserPrincipal |
popRole(UserPrincipal user)
Pop a role to a user Not implemented |
UserPrincipal |
pushRole(UserPrincipal user,
java.lang.String role)
Push a role to a user Not implemented |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JRealmJAASJetty42() throws java.lang.Exception
java.lang.Exception
- if the resource can't be retrievedpublic JRealmJAASJetty42(java.lang.String name) throws java.lang.Exception
name
- name of the realm
java.lang.Exception
- if the resource can't be retrievedMethod Detail |
public UserPrincipal authenticate(java.lang.String username, java.lang.Object credentials, HttpRequest request)
username
- name of the usercredentials
- credential of the userrequest
- httprequest
public void disassociate(UserPrincipal user)
user
- the given userpublic java.lang.String getName()
public UserPrincipal popRole(UserPrincipal user)
user
- the given user
public UserPrincipal pushRole(UserPrincipal user, java.lang.String role)
user
- the given userrole
- the role to push
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |