org.ow2.jonas.antmodular.jonasbase.security
Class Jaas

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
              extended by org.ow2.jonas.antmodular.jonasbase.security.Jaas
All Implemented Interfaces:
Cloneable

public class Jaas
extends org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask

Allow to configure JAAS

Author:
Julien Legrand

Field Summary
static String DEFAULT_LOGIN_MODULE_NAME
          Class name of the JResourceLoginModule
static String JAAS_CONF_FILE
          Name of JAAS configuration file.
 
Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
CONF_DIR, destDir, jonasRoot, 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 addConfiguredJaasEntry(JaasEntry entry)
          Configure a JAAS entry
 void execute()
          Execute this task.
 
Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
addTask, addTasks, createServiceNameReplace, executeAllTask, getTasks
 
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

JAAS_CONF_FILE

public static final String JAAS_CONF_FILE
Name of JAAS configuration file.

See Also:
Constant Field Values

DEFAULT_LOGIN_MODULE_NAME

public static final String DEFAULT_LOGIN_MODULE_NAME
Class name of the JResourceLoginModule

See Also:
Constant Field Values
Constructor Detail

Jaas

public Jaas()
Constructor

Method Detail

addConfiguredJaasEntry

public void addConfiguredJaasEntry(JaasEntry entry)
Configure a JAAS entry

Parameters:
entry - the entry to configure.

execute

public void execute()
Execute this task.

Overrides:
execute in class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask


Copyright © 2011 OW2 Consortium. All Rights Reserved.