|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.security.UsersRoles
public class UsersRoles

An user / role implementation based on property files
| Constructor Summary | |
|---|---|
UsersRoles()
Constructor |
|
| Method Summary | |
|---|---|
char[] |
getCredential(String user)
Get the credential for an user |
String |
getDomain()
Get the domain |
String[] |
getRoles(String user)
Get the roles for an user |
String |
getRolesProperties()
Get the roles.properties file name |
Set<String> |
getUsers()
Get the users |
String |
getUsersProperties()
Get the users.properties file name |
void |
setDomain(String v)
Set the domain |
void |
setRolesProperties(String value)
Set the roles.properties file name |
void |
setUsersProperties(String value)
Set the users.properties file name |
void |
start()
Start |
void |
stop()
Stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UsersRoles()
| Method Detail |
|---|
public String getUsersProperties()
public void setUsersProperties(String value)
value - The valuepublic String getRolesProperties()
public void setRolesProperties(String value)
value - The valuepublic String getDomain()
getDomain in interface org.jboss.jca.core.spi.security.Callbackpublic void setDomain(String v)
v - The valuepublic Set<String> getUsers()
getUsers in interface org.jboss.jca.core.spi.security.Callbackpublic char[] getCredential(String user)
getCredential in interface org.jboss.jca.core.spi.security.Callbackuser - The user name
null if user doesn't existspublic String[] getRoles(String user)
getRoles in interface org.jboss.jca.core.spi.security.Callbackuser - The user name
null if user doesn't exists
public void start()
throws Throwable
Throwable - Thrown if an error occurs
public void stop()
throws Throwable
Throwable - Thrown if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||