Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.web
Class AuthenticationFilter

    java.lang.Object
      org.jboss.seam.web.AbstractFilter
          org.jboss.seam.web.AuthenticationFilter

All Implemented Interfaces:
  javax.servlet.Filter

    @Scope(value=APPLICATION)
    @Name(value="org.jboss.seam.web.authenticationFilter")
    @Install(value=false,
             precedence=0)
    @BypassInterceptors
    @Filter(within="org.jboss.seam.web.exceptionFilter")
    public class AuthenticationFilter

extends AbstractFilter

Seam Servlet Filter supporting HTTP Basic and Digest authentication. Some code adapted from Acegi.

Author:
  Shane Bryzak

Nested Class Summary
`static class` | `AuthenticationFilter.AuthType`

Constructor Summary
`AuthenticationFilter()`

Method Summary
`void` | `doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)`
`String` | `getAuthType()`
`String` | `getKey()`
`int` | `getNonceValiditySeconds()`
`String` | `getRealm()`
`void` | `setAuthType(String authType)`
`void` | `setKey(String key)`
`void` | `setNonceValiditySeconds(int value)`
`void` | `setRealm(String realm)`

Methods inherited from class org.jboss.seam.web.AbstractFilter
`destroy, getRegexUrlPattern, getServletContext, getUrlPattern, init, isDisabled, isMappedToCurrentRequestPath, setDisabled, setRegexUrlPattern, setUrlPattern`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AuthenticationFilter

    public AuthenticationFilter()

Method Detail

### setRealm

    public void setRealm(String realm)

### getRealm

    public String getRealm()

### setAuthType

    public void setAuthType(String authType)

### getAuthType

    public String getAuthType()

### getKey

    public String getKey()

### setKey

    public void setKey(String key)

### getNonceValiditySeconds

    public int getNonceValiditySeconds()

### setNonceValiditySeconds

    public void setNonceValiditySeconds(int value)

### doFilter

    public void doFilter(javax.servlet.ServletRequest request,
                         javax.servlet.ServletResponse response,
                         javax.servlet.FilterChain chain)
                  throws IOException,
                         javax.servlet.ServletException

  Throws:
    `IOException`
    `javax.servlet.ServletException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.