public class NegotiateSecurityFilter extends Object implements javax.servlet.Filter
Constructor and Description |
---|
NegotiateSecurityFilter()
Instantiates a new negotiate security filter.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest sreq,
javax.servlet.ServletResponse sres,
javax.servlet.FilterChain chain) |
IWindowsAuthProvider |
getAuth()
Windows auth provider.
|
PrincipalFormat |
getPrincipalFormat()
Principal format.
|
SecurityFilterProviderCollection |
getProviders()
Security filter providers.
|
PrincipalFormat |
getRoleFormat()
Principal format.
|
void |
init(javax.servlet.FilterConfig filterConfig) |
boolean |
isAllowGuestLogin()
True if guest login is allowed.
|
boolean |
isImpersonate()
Checks if is impersonate.
|
void |
setAuth(IWindowsAuthProvider provider)
Set Windows auth provider.
|
void |
setImpersonate(boolean value)
Enable/Disable impersonation.
|
void |
setPrincipalFormat(String format)
Set the principal format.
|
void |
setRoleFormat(String format)
Set the principal format.
|
public NegotiateSecurityFilter()
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest sreq, javax.servlet.ServletResponse sres, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void setPrincipalFormat(String format)
format
- Principal format.public PrincipalFormat getPrincipalFormat()
public void setRoleFormat(String format)
format
- Role format.public PrincipalFormat getRoleFormat()
public IWindowsAuthProvider getAuth()
public void setAuth(IWindowsAuthProvider provider)
provider
- Class implements IWindowsAuthProvider.public boolean isAllowGuestLogin()
public void setImpersonate(boolean value)
value
- true to enable impersonation, false otherwisepublic boolean isImpersonate()
public SecurityFilterProviderCollection getProviders()
Copyright © 2010–2015 com.github.dblock. All rights reserved.