| Package | Description |
|---|---|
| com.sun.enterprise.security | |
| com.sun.enterprise.security.auth.realm |
This package contains the Realms used by Payara for its native identity stores.
|
| com.sun.enterprise.security.auth.realm.certificate | |
| com.sun.enterprise.security.auth.realm.file | |
| com.sun.enterprise.security.auth.realm.jdbc | |
| com.sun.enterprise.security.auth.realm.ldap | |
| com.sun.enterprise.security.auth.realm.pam | |
| com.sun.enterprise.security.auth.realm.solaris |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseRealm.addUser(String name,
char[] password,
String[] groupList)
Adds new user to file realm.
|
void |
BaseRealm.addUser(String name,
String password,
String[] groupList)
Adds new user to file realm.
|
Enumeration<String> |
BaseRealm.getGroupNames()
Returns names of all the groups in this particular realm.
|
User |
BaseRealm.getUser(String name)
Returns the information recorded about a particular named user.
|
Enumeration<String> |
BaseRealm.getUserNames()
Returns names of all the users in this particular realm.
|
void |
BaseRealm.persist()
Persist the realm data to permanent storage
|
void |
BaseRealm.refresh()
Refreshes the realm data so that new users/groups are visible.
|
void |
BaseRealm.removeUser(String name)
Remove user from file realm.
|
void |
BaseRealm.updateUser(String name,
String newName,
char[] password,
String[] groups)
Update data for an existing user.
|
void |
BaseRealm.updateUser(String name,
String newName,
String password,
String[] groups)
Update data for an existing user.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BadUserException
Exception thrown when a User is found to be corrupted for some reason.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
AbstractRealm.addUser(String name,
char[] password,
String[] groupList)
Adds new user to file realm.
|
abstract Enumeration<String> |
AbstractRealm.getGroupNames()
Returns names of all the groups in this particular realm.
|
abstract User |
AbstractRealm.getUser(String name)
Returns the information recorded about a particular named user.
|
abstract Enumeration<String> |
AbstractRealm.getUserNames()
Returns names of all the users in this particular realm.
|
protected void |
AbstractStatefulRealm.init(Properties properties)
Initialize a realm with some properties.
|
static Realm |
Realm.instantiate(String name,
String className,
Properties props)
Instantiate a Realm with the given name and properties using the Class name given.
|
static Realm |
Realm.instantiate(String name,
String className,
Properties props,
String configName)
Instantiate a Realm with the given name and properties using the Class name given.
|
abstract void |
AbstractRealm.persist()
Persist the realm data to permanent storage
|
abstract void |
AbstractRealm.refresh()
Refreshes the realm data so that new users/groups are visible.
|
void |
AbstractStatefulRealm.refresh(String configName)
Refreshes the realm data so that new users/groups are visible.
|
abstract void |
AbstractRealm.removeUser(String name)
Remove user from file realm.
|
abstract void |
AbstractRealm.updateUser(String name,
String newName,
char[] password,
String[] groups)
Update data for an existing user.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CertificateRealm.init(Properties props)
Initialize a realm with some properties.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
FileRealm.getGroupNames()
Returns names of all the groups in this particular realm.
|
Enumeration<String> |
FileRealm.getUserNames()
Returns names of all the users in this particular realm.
|
protected void |
FileRealm.init(Properties props)
Initialize a realm with some properties.
|
void |
FileRealm.persist()
Persist the realm data to permanent storage
|
void |
FileRealm.refresh()
Refreshes the realm data so that new users/groups are visible.
|
void |
FileRealm.refresh(String configName)
Refreshes the realm data so that new users/groups are visible.
|
| Constructor and Description |
|---|
FileRealm(String keyfile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JDBCRealm.init(Properties props)
Initialize a realm with some properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LDAPRealm.init(Properties props)
Initialize a realm with some properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PamRealm.init(Properties props)
Initialize a realm with some properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SolarisRealm.init(Properties props)
Initialize a realm with some properties.
|
Copyright © 2019. All rights reserved.