org.fcrepo.server.security.servletfilters
Interface ExtendedHttpServletRequest

All Superinterfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
All Known Implementing Classes:
ExtendedHttpServletRequestWrapper

public interface ExtendedHttpServletRequest
extends javax.servlet.http.HttpServletRequest

Author:
Bill Niebel

Field Summary
static String FAILED
           
static ImmutableHashSet IMMUTABLE_NULL_SET
           
static String SUCCEEDED
           
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Method Summary
 void addAttributes(String authority, Map attributes)
           
 void audit()
           
 Map getAllAttributes()
           
 Set getAttributeValues(String key)
           
 String getAuthority()
           
 String getFromHeader()
           
 String getPassword()
           
 String getUser()
           
 boolean hasAttributeValues(String key)
           
 boolean isAttributeDefined(String key)
           
 boolean isAuthenticated()
           
 boolean isUserSponsored()
           
 void lockSponsoredUser()
           
 void lockWrapper()
           
 void setAuthenticated(Principal userPrincipal, String authority)
           
 void setSponsoredUser()
           
 
Methods inherited from interface javax.servlet.http.HttpServletRequest
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Field Detail

SUCCEEDED

static final String SUCCEEDED
See Also:
Constant Field Values

FAILED

static final String FAILED
See Also:
Constant Field Values

IMMUTABLE_NULL_SET

static final ImmutableHashSet IMMUTABLE_NULL_SET
Method Detail

audit

void audit()

lockWrapper

void lockWrapper()
                 throws Exception
Throws:
Exception

setSponsoredUser

void setSponsoredUser()
                      throws Exception
Throws:
Exception

lockSponsoredUser

void lockSponsoredUser()
                       throws Exception
Throws:
Exception

setAuthenticated

void setAuthenticated(Principal userPrincipal,
                      String authority)
                      throws Exception
Throws:
Exception

isUserSponsored

boolean isUserSponsored()

isAuthenticated

boolean isAuthenticated()

getAttributeValues

Set getAttributeValues(String key)
                       throws AuthzOperationalException
Throws:
AuthzOperationalException

hasAttributeValues

boolean hasAttributeValues(String key)
                           throws AuthzOperationalException
Throws:
AuthzOperationalException

isAttributeDefined

boolean isAttributeDefined(String key)
                           throws AuthzOperationalException
Throws:
AuthzOperationalException

addAttributes

void addAttributes(String authority,
                   Map attributes)
                   throws Exception
Throws:
Exception

getUser

String getUser()
               throws Exception
Throws:
Exception

getPassword

String getPassword()
                   throws Exception
Throws:
Exception

getAllAttributes

Map getAllAttributes()
                     throws Exception
Throws:
Exception

getAuthority

String getAuthority()

getFromHeader

String getFromHeader()


Copyright © 2012 DuraSpace. All Rights Reserved.