com.infoengine.webject.mgt
Class MapCredentials

java.lang.Object
  extended bycom.infoengine.webject.Webject
      extended bycom.infoengine.webject.mgt.MapCredentials

public class MapCredentials
extends Webject


Field Summary
protected static ObjectCache credentialsCache
           
private static String RESOURCE
           
 
Constructor Summary
MapCredentials()
           
 
Method Summary
private static String getUserName(Task task)
          Retrieve a user name from a task or the server context group
 Task invoke(Task task)
          Map credentials by calling a credential mapping task and/or by looking credentials up in files, and create a SERVER context group named AUTH_MAP from the result.
private static Group processCredentialsFiles(Task task, Webject webject, String username)
          Process credentials files if a directory pathname is provided.
private static Group processCredentialsMapper(Task task, Webject webject)
          Execute a credentials mapper task if one is provided.
 
Methods inherited from class com.infoengine.webject.Webject
booleanParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

credentialsCache

protected static ObjectCache credentialsCache
Constructor Detail

MapCredentials

public MapCredentials()
Method Detail

invoke

public Task invoke(Task task)
            throws IEException
Map credentials by calling a credential mapping task and/or by looking credentials up in files, and create a SERVER context group named AUTH_MAP from the result.

Specified by:
invoke in class Webject
Parameters:
task - a value of type 'Task'
Returns:
a value of type 'Task'
Throws:
IEException

getUserName

private static String getUserName(Task task)
Retrieve a user name from a task or the server context group


processCredentialsFiles

private static Group processCredentialsFiles(Task task,
                                             Webject webject,
                                             String username)
                                      throws IEException
Process credentials files if a directory pathname is provided.

Throws:
IEException

processCredentialsMapper

private static Group processCredentialsMapper(Task task,
                                              Webject webject)
                                       throws IEException
Execute a credentials mapper task if one is provided.

Throws:
IEException