public class UsernameModifyFilter
extends org.springframework.web.filter.GenericFilterBean
| Modifier and Type | Class and Description |
|---|---|
static class |
UsernameModifyFilter.ConfigCoords |
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
FILE_PATTERN |
static Pattern |
PATH_PATTERN |
| Constructor and Description |
|---|
UsernameModifyFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
static UsernameModifyFilter.ConfigCoords |
extractConfigCoords(String path)
/{application}/{profile}[/{label}]
/{application}-{profile}.yml
/{label}/{application}-{profile}.yml
/{application}-{profile}.properties
/{label}/{application}-{profile}.properties
|
protected String |
getCredentialsCharset(javax.servlet.http.HttpServletRequest httpRequest) |
void |
setCredentialsCharset(String credentialsCharset) |
void |
setLoginEndpoint(String loginEndpoint) |
void |
setManagementContextPath(String managementContextPath) |
public static final Pattern PATH_PATTERN
public static final Pattern FILE_PATTERN
public void setLoginEndpoint(String loginEndpoint)
public void setManagementContextPath(String managementContextPath)
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic void setCredentialsCharset(String credentialsCharset)
protected String getCredentialsCharset(javax.servlet.http.HttpServletRequest httpRequest)
public static UsernameModifyFilter.ConfigCoords extractConfigCoords(String path)
Copyright © 2017. All rights reserved.