public class NegotiateAuthenticator
extends org.apache.catalina.authenticator.AuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_allowGuestLogin |
protected waffle.windows.auth.IWindowsAuthProvider |
_auth |
protected java.lang.String |
_info |
protected org.slf4j.Logger |
_log |
protected waffle.windows.auth.PrincipalFormat |
_principalFormat |
protected waffle.windows.auth.PrincipalFormat |
_roleFormat |
algorithm, cache, changeSessionIdOnAuthentication, context, DEFAULT_ALGORITHM, digest, disableProxyCaching, entropy, info, lifecycle, random, randomClass, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started| Constructor and Description |
|---|
NegotiateAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authenticate(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response,
org.apache.catalina.deploy.LoginConfig loginConfig) |
waffle.windows.auth.IWindowsAuthProvider |
getAuth()
Windows authentication provider.
|
java.lang.String |
getInfo() |
waffle.windows.auth.PrincipalFormat |
getPrincipalFormat()
Principal format.
|
waffle.windows.auth.PrincipalFormat |
getRoleFormat()
Principal format.
|
boolean |
isAllowGuestLogin()
True if Guest login permitted.
|
protected void |
sendUnauthorized(org.apache.catalina.connector.Response response)
Send a 401 Unauthorized along with protocol authentication headers.
|
void |
setAllowGuestLogin(boolean value)
Set whether Guest login is permitted.
|
void |
setAuth(waffle.windows.auth.IWindowsAuthProvider provider)
Set Windows auth provider.
|
void |
setPrincipalFormat(java.lang.String format)
Set the principal format.
|
void |
setRoleFormat(java.lang.String format)
Set the principal format.
|
void |
start() |
void |
stop() |
addLifecycleListener, associate, findLifecycleListeners, generateSessionId, getAlgorithm, getCache, getChangeSessionIdOnAuthentication, getContainer, getDigest, getDisableProxyCaching, getEntropy, getRandom, getRandomClass, getSecurePagesWithPragma, invoke, reauthenticateFromSSO, register, removeLifecycleListener, setAlgorithm, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setEntropy, setRandomClass, setSecurePagesWithPragmaprotected java.lang.String _info
protected org.slf4j.Logger _log
protected waffle.windows.auth.PrincipalFormat _principalFormat
protected waffle.windows.auth.PrincipalFormat _roleFormat
protected boolean _allowGuestLogin
protected waffle.windows.auth.IWindowsAuthProvider _auth
public void start()
start in interface org.apache.catalina.Lifecyclestart in class org.apache.catalina.authenticator.AuthenticatorBasepublic void stop()
stop in interface org.apache.catalina.Lifecyclestop in class org.apache.catalina.authenticator.AuthenticatorBaseprotected boolean authenticate(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response,
org.apache.catalina.deploy.LoginConfig loginConfig)
authenticate in class org.apache.catalina.authenticator.AuthenticatorBasepublic waffle.windows.auth.IWindowsAuthProvider getAuth()
public void setAuth(waffle.windows.auth.IWindowsAuthProvider provider)
provider - Class implements IWindowsAuthProvider.public java.lang.String getInfo()
getInfo in interface org.apache.catalina.ValvegetInfo in class org.apache.catalina.authenticator.AuthenticatorBasepublic void setPrincipalFormat(java.lang.String format)
format - Principal format.public waffle.windows.auth.PrincipalFormat getPrincipalFormat()
public void setRoleFormat(java.lang.String format)
format - Role format.public waffle.windows.auth.PrincipalFormat getRoleFormat()
public boolean isAllowGuestLogin()
public void setAllowGuestLogin(boolean value)
value - True or false.protected void sendUnauthorized(org.apache.catalina.connector.Response response)
response - HTTP Response