asit.moa.moaid
Class MOAIDAuthenticator
java.lang.Object
org.apache.catalina.valves.ValveBase
org.apache.catalina.authenticator.AuthenticatorBase
asit.moa.moaid.MOAIDAuthenticator
- All Implemented Interfaces:
- org.apache.catalina.Authenticator, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve
- public class MOAIDAuthenticator
- extends org.apache.catalina.authenticator.AuthenticatorBase
MOA-ID Valve
- Author:
- Arne Tauber
|
Field Summary |
protected static String |
info
Descriptive information about this implementation. |
| Fields inherited from class org.apache.catalina.authenticator.AuthenticatorBase |
algorithm, cache, context, debug, DEFAULT_ALGORITHM, digest, disableProxyCaching, entropy, lifecycle, random, randomClass, SESSION_ID_BYTES, sm, sso, started |
| Fields inherited from class org.apache.catalina.valves.ValveBase |
container |
| Fields inherited from interface org.apache.catalina.Lifecycle |
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, START_EVENT, STOP_EVENT |
| Methods inherited from class org.apache.catalina.authenticator.AuthenticatorBase |
accessControl, addLifecycleListener, associate, checkUserData, findConstraint, findLifecycleListeners, generateSessionId, getAlgorithm, getCache, getContainer, getDebug, getDigest, getDisableProxyCaching, getEntropy, getRandom, getRandomClass, getSession, getSession, invoke, log, log, reauthenticateFromSSO, register, removeLifecycleListener, setAlgorithm, setCache, setContainer, setDebug, setDisableProxyCaching, setEntropy, setRandomClass, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
info
protected static final String info
- Descriptive information about this implementation.
- See Also:
- Constant Field Values
MOAIDAuthenticator
public MOAIDAuthenticator()
getInfo
public String getInfo()
- Return descriptive information about this Valve implementation.
authenticate
public boolean authenticate(org.apache.catalina.HttpRequest request,
org.apache.catalina.HttpResponse response,
org.apache.catalina.deploy.LoginConfig config)
throws IOException
- Authenticate the user making this request, based on the specified
login configuration. Return
true if any specified
constraint has been satisfied, or false if we have
created a response challenge already.
- Parameters:
request - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication
should be performed
- Throws:
IOException - if an input/output error occurs
setBkuAuswahlURL
public void setBkuAuswahlURL(String url)
getBkuAuswahlURL
public String getBkuAuswahlURL()
setMoaidurl
public void setMoaidurl(String url)
getMoaidurl
public String getMoaidurl()
setOaurl
public void setOaurl(String url)
getOaurl
public String getOaurl()
setBkutemplate
public void setBkutemplate(String template)
getBkutemplate
public String getBkutemplate()
setTemplateurl
public void setTemplateurl(String url)
getTemplateurl
public String getTemplateurl()
setAutoRoles
public void setAutoRoles(String roles)
getAutoRoleList
public List getAutoRoleList()
getAutoRoles
public String getAutoRoles()
setTarget
public void setTarget(String url)
getTarget
public String getTarget()
setErrorpage
public void setErrorpage(String url)
getErrorpage
public String getErrorpage()
setSslstore
public void setSslstore(String url)
getSslstore
public String getSslstore()
setSslpwd
public void setSslpwd(String url)
getSslpwd
public String getSslpwd()
matchRequest
protected boolean matchRequest(org.apache.catalina.HttpRequest request)
- Does this request match the saved one (so that it must be the redirect
we signalled after successful authentication?
- Parameters:
request - The request to be verified
restoreRequest
protected boolean restoreRequest(org.apache.catalina.HttpRequest request,
org.apache.catalina.Session session)
- Restore the original request from information stored in our session.
If the original request is no longer present (because the session
timed out), return
false; otherwise, return
true.
- Parameters:
request - The request to be restoredsession - The session containing the saved information
start
public void start()
throws org.apache.catalina.LifecycleException
- Throws:
org.apache.catalina.LifecycleException
getSslStoreType_
public String getSslStoreType_()
setSslStoreType_
public void setSslStoreType_(String sslStoreType_)
Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.