|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
org.ow2.jonas.antmodular.jonasbase.security.Jaas
public class Jaas
Allow to configure JAAS
| Field Summary | |
|---|---|
static String |
DEFAULT_LOGIN_MODULE_NAME
Class name of the JResourceLoginModule |
static String |
EOL
EOL |
static String |
JAAS_CONF_FILE
Name of JAAS configuration file. |
static String |
JMX_AUTHENTIFICATION_METHOD_TOKEN
Token for the JMX authentification method |
static String |
JMX_AUTHENTIFICATION_METHOD_VALUE
Value for the JMX authentification method |
static String |
JMX_AUTHENTIFICATION_PARAMETER_TOKEN
Token for the JMX authentification parameter |
static String |
JMX_AUTHENTIFICATION_PARAMETER_VALUE
Value for the JMX authentification parameter |
static String |
JMX_IS_SECURED_TOKEN
Token for the JMX security activation |
static String |
JMX_IS_SECURED_VALUE
Value for the JMX security activation |
static String |
JONAS_ADMIN_PASSWORD_TOKEN
JOnAS Admin password token |
static String |
JONAS_ADMIN_USERNAME_TOKEN
JOnAS Admin username token |
static String |
JONAS_REALM_CONF_FILE
Name of the realm conf file |
static String |
REALME_SEPARATOR
Separator use in the realme file |
static String |
ROLES_TOKEN
Realm's role token |
static String |
USERS_TOKEN
Realm's Users token |
| Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
CONF_DIR, destDir, jonasRoot, skipOptionalDeployablesCopy, tasks |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
Jaas()
Constructor |
|
| Method Summary | |
|---|---|
void |
addConfiguredAdmin(User admin)
|
void |
addConfiguredJaasEntry(JaasEntry entry)
Configure a JAAS entry |
void |
addConfiguredUser(User user)
|
void |
execute()
Execute this task. |
void |
setSecureJmx(boolean enabled)
Enable or disable JMX security. |
| Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
addTask, addTasks, copyTemplateDeployables, createServiceNameReplace, executeAllTask, getJOnASBase, getJOnASRoot, getTasks, setDestDir, setSkipOptionalDeployablesCopy |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JAAS_CONF_FILE
public static final String DEFAULT_LOGIN_MODULE_NAME
public static final String JMX_AUTHENTIFICATION_METHOD_TOKEN
public static final String JMX_AUTHENTIFICATION_METHOD_VALUE
public static final String JMX_AUTHENTIFICATION_PARAMETER_TOKEN
public static final String JMX_AUTHENTIFICATION_PARAMETER_VALUE
public static final String JMX_IS_SECURED_TOKEN
public static final String JMX_IS_SECURED_VALUE
public static final String JONAS_ADMIN_USERNAME_TOKEN
public static final String JONAS_ADMIN_PASSWORD_TOKEN
public static final String JONAS_REALM_CONF_FILE
public static String EOL
public static String REALME_SEPARATOR
public static String USERS_TOKEN
public static String ROLES_TOKEN
| Constructor Detail |
|---|
public Jaas()
| Method Detail |
|---|
public void addConfiguredJaasEntry(JaasEntry entry)
entry - the entry to configure.public void addConfiguredAdmin(User admin)
admin - The admin to configurepublic void addConfiguredUser(User user)
user - The user to configurepublic void setSecureJmx(boolean enabled)
enabled - (true or false)
the default value is currently false in jonas.propertiespublic void execute()
execute in class AbstractJOnASBaseAntTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||