| Modifier and Type | Field and Description |
|---|---|
| private boolean | allowGuestLogin
The allow guest login. |
| private IWindowsAuthProvider | auth
The auth. |
| private boolean | disableSSO
The disable SSO. |
| private boolean | excludeBearerAuthorization
The exclusion bearer authorization. |
| private boolean | excludeCorsPreflight
The exclusions cors pre flight. |
| private String[] | excludePatterns
The exclusion filter. |
| private boolean | impersonate
The impersonate. |
| private static final Logger | LOGGER
The Constant LOGGER. |
| private PrincipalFormat | principalFormat
The principal format. |
| private static final String | PRINCIPALSESSIONKEY
The Constant PRINCIPALSESSIONKEY. |
| private SecurityFilterProviderCollection | providers
The providers. |
| private PrincipalFormat | roleFormat
The role format. |
| private static Boolean | windows
The windows flag. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy()
Overrides default javax. Called by the web container to indicate to a filter that it is being taken out of service. |
| public void | doFilter(final ServletRequest
the sreq, final ServletResponse ServletRequest object contains the client's requestthe sres, final FilterChain ServletResponse object contains the filter's responsethe chain)FilterChain for invoking the next filter or the resourceImplements javax. doFilter method of the Filter is called by the
container each time a request/response pair is passed through the
chain due to a client request for a resource at the end of the chain.
|
| private boolean | Returns: True if a user already authenticated.HTTP request. request, final HttpServletResponse HTTP response. response, final FilterChain Filter chain. chain)Filter for a previously logged on user. |
| public IWindowsAuthProvider | |
| public PrincipalFormat | |
| public SecurityFilterProviderCollection | |
| public PrincipalFormat | |
| public void | init(final FilterConfig
a filterConfig)FilterConfig object containing the
filter's configuration and initialization parametersOverrides default javax. Called by the web container to indicate to a filter that it is being placed into service. |
| public boolean | Returns: True if guest login is allowed, false otherwise.True if guest login is allowed. |
| public boolean | |
| private static boolean | |
| private void | sendUnauthorized(final HttpServletResponse
HTTP Response response, final boolean Close connection. close)Send a 401 Unauthorized along with protocol authentication headers. |
| public void | setAuth(final IWindowsAuthProvider
Class implements IWindowsAuthProvider. provider)Set Windows auth provider. |
| public void | setImpersonate(final boolean
true to enable impersonation, false otherwise value)Enable/Disable impersonation. |
| public void | |
| public void |
| allowGuestLogin | back to summary |
|---|---|
| private boolean allowGuestLogin The allow guest login. | |
| auth | back to summary |
|---|---|
| private IWindowsAuthProvider auth The auth. | |
| disableSSO | back to summary |
|---|---|
| private boolean disableSSO The disable SSO. | |
| excludeBearerAuthorization | back to summary |
|---|---|
| private boolean excludeBearerAuthorization The exclusion bearer authorization. | |
| excludeCorsPreflight | back to summary |
|---|---|
| private boolean excludeCorsPreflight The exclusions cors pre flight. | |
| excludePatterns | back to summary |
|---|---|
| private String[] excludePatterns The exclusion filter. | |
| impersonate | back to summary |
|---|---|
| private boolean impersonate The impersonate. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER The Constant LOGGER. | |
| principalFormat | back to summary |
|---|---|
| private PrincipalFormat principalFormat The principal format. | |
| PRINCIPALSESSIONKEY | back to summary |
|---|---|
| private static final String PRINCIPALSESSIONKEY The Constant PRINCIPALSESSIONKEY. | |
| providers | back to summary |
|---|---|
| private SecurityFilterProviderCollection providers The providers. | |
| roleFormat | back to summary |
|---|---|
| private PrincipalFormat roleFormat The role format. | |
| windows | back to summary |
|---|---|
| private static Boolean windows The windows flag. | |
| NegotiateSecurityFilter | back to summary |
|---|---|
| public NegotiateSecurityFilter() Instantiates a new negotiate security filter. | |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides default javax. Doc from javax. Called by the web container to indicate to a filter that it is being taken out of service. This method is only called once all threads within the filter's doFilter method have exited or after a timeout period has passed. After the web container calls this method, it will not call the doFilter method again on this instance of the filter. This method gives the filter an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the filter's current state in memory.
| |
| doFilter | back to summary |
|---|---|
| public void doFilter(final ServletRequest sreq, final ServletResponse sres, final FilterChain chain) throws IOException, ServletException Implements javax. Doc from javax. The A typical implementation of this method would follow the following pattern:
| |
| doFilterPrincipal | back to summary |
|---|---|
| private boolean doFilterPrincipal(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain) throws IOException, ServletException Filter for a previously logged on user.
| |
| getAuth | back to summary |
|---|---|
| public IWindowsAuthProvider getAuth() Windows auth provider.
| |
| getPrincipalFormat | back to summary |
|---|---|
| public PrincipalFormat getPrincipalFormat() Principal format.
| |
| getProviders | back to summary |
|---|---|
| public SecurityFilterProviderCollection getProviders() Security filter providers.
| |
| getRoleFormat | back to summary |
|---|---|
| public PrincipalFormat getRoleFormat() Principal format.
| |
| init | back to summary |
|---|---|
| public void init(final FilterConfig filterConfig) throws ServletException Overrides default javax. Doc from javax. Called by the web container to indicate to a filter that it is being placed into service. The servlet container calls the init method exactly once after instantiating the filter. The init method must complete successfully before the filter is asked to do any filtering work. The web container cannot place the filter into service if the init method either
| |
| isAllowGuestLogin | back to summary |
|---|---|
| public boolean isAllowGuestLogin() True if guest login is allowed.
| |
| isImpersonate | back to summary |
|---|---|
| public boolean isImpersonate() Checks if is impersonate.
| |
| isWindows | back to summary |
|---|---|
| private static boolean isWindows() | |
| sendUnauthorized | back to summary |
|---|---|
| private void sendUnauthorized(final HttpServletResponse response, final boolean close) Send a 401 Unauthorized along with protocol authentication headers.
| |
| setAuth | back to summary |
|---|---|
| public void setAuth(final IWindowsAuthProvider provider) Set Windows auth provider.
| |
| setImpersonate | back to summary |
|---|---|
| public void setImpersonate(final boolean value) Enable/Disable impersonation.
| |
| setPrincipalFormat | back to summary |
|---|---|
| public void setPrincipalFormat(final String format) Set the principal format.
| |
| setRoleFormat | back to summary |
|---|---|
| public void setRoleFormat(final String format) Set the principal format.
| |