|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.persvr.security.DefaultSecurity
public class DefaultSecurity
This is a default implementation of security. It is uses a standard mechanism ACLs, users, and groups to enforce security and grant access to resources for users
| Constructor Summary | |
|---|---|
DefaultSecurity()
|
|
| Method Summary | |
|---|---|
User |
authenticate(java.lang.String username,
java.lang.String password)
This performs authentication and returns the authenticated User |
User |
createUser(java.lang.String username,
java.lang.String password)
Creates a new user in the system |
User |
getPublicUser()
This gets the public user. |
java.security.acl.Group |
getSupervisorGroup()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSecurity()
| Method Detail |
|---|
public User authenticate(java.lang.String username,
java.lang.String password)
throws javax.security.auth.login.LoginException
SecurityHandler
authenticate in interface SecurityHandlerjavax.security.auth.login.LoginExceptionpublic java.security.acl.Group getSupervisorGroup()
public User getPublicUser()
SecurityHandler
getPublicUser in interface SecurityHandler
public User createUser(java.lang.String username,
java.lang.String password)
SecurityHandler
createUser in interface SecurityHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||