es.rediris.papi
Class PAPIPoA

java.lang.Object
  extended by es.rediris.papi.PAPIPoA

public class PAPIPoA
extends Object


Field Summary
static int ACCESS_ACCEPTED
          Access query has been accepted
static int ACCESS_FATAL
          Access denied due to relevant errors in data
static int ACCESS_UNAUTHORIZED
          Access denied due to invalid credentials
static int INIT
          Initial status
static Logger log
           
static int LOGIN_ACCEPTED
          Login query has been accepted
static int LOGIN_REJECTED
          Login query rejected
static int LOGOUT_ACCEPTED
          Logout query accepted
 
Constructor Summary
PAPIPoA()
           
 
Method Summary
 Map<String,String> doFilter(ServletRequest request, ServletResponse response)
           
 String getOption(String key)
           
 void init(String configFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT

public static final int INIT
Initial status

See Also:
Constant Field Values

LOGIN_ACCEPTED

public static final int LOGIN_ACCEPTED
Login query has been accepted

See Also:
Constant Field Values

ACCESS_ACCEPTED

public static final int ACCESS_ACCEPTED
Access query has been accepted

See Also:
Constant Field Values

ACCESS_UNAUTHORIZED

public static final int ACCESS_UNAUTHORIZED
Access denied due to invalid credentials

See Also:
Constant Field Values

ACCESS_FATAL

public static final int ACCESS_FATAL
Access denied due to relevant errors in data

See Also:
Constant Field Values

LOGIN_REJECTED

public static final int LOGIN_REJECTED
Login query rejected

See Also:
Constant Field Values

LOGOUT_ACCEPTED

public static final int LOGOUT_ACCEPTED
Logout query accepted

See Also:
Constant Field Values

log

public static Logger log
Constructor Detail

PAPIPoA

public PAPIPoA()
Method Detail

init

public void init(String configFileName)
          throws Exception
Throws:
Exception

doFilter

public Map<String,String> doFilter(ServletRequest request,
                                   ServletResponse response)
                            throws LoginException,
                                   IOException
Throws:
LoginException
IOException

getOption

public String getOption(String key)
                 throws LoginException
Throws:
LoginException