de.itsvs.cwtrpc.security
Class UsernamePasswordRpcAuthenticationFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
de.itsvs.cwtrpc.security.AbstractRpcProcessingFilter
de.itsvs.cwtrpc.security.AbstractRpcAuthenticationProcessingFilter
de.itsvs.cwtrpc.security.UsernamePasswordRpcAuthenticationFilter
- All Implemented Interfaces:
- Filter, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationEventPublisherAware, ServletContextAware
public class UsernamePasswordRpcAuthenticationFilter
- extends AbstractRpcAuthenticationProcessingFilter
- Since:
- 0.9
- Author:
- Volker Schmidt
| Methods inherited from class de.itsvs.cwtrpc.security.AbstractRpcAuthenticationProcessingFilter |
applySessionAuthenticationStrategy, attemptAuthentication, getApplicationEventPublisher, getAuthenticationDetailsSource, getAuthenticationFailureHandler, getAuthenticationManager, getAuthenticationSuccessHandler, getRememberMeServices, getRpcHttpSessionStrategy, getSessionAuthenticationStrategy, process, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setRememberMeServices, setRpcHttpSessionStrategy, setSessionAuthenticationStrategy, successfulAuthentication, successfulAuthenticationEnd, unsuccessfulAuthentication |
| Methods inherited from class de.itsvs.cwtrpc.security.AbstractRpcProcessingFilter |
doFilter, filterProcesses, getBeanFactory, getFilterProcessesUrl, getMethodName, getRpcRequest, getSerializationPolicyProvider, getServiceInterface, invalidateSession, isPostOnly, matchesFilterProcessesUrl, matchesMethodName, readContent, readRpcRequest, setBeanFactory, setFilterProcessesUrl, setMethodName, setPostOnly, setSerializationPolicyProvider, setServiceInterface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsernamePasswordRpcAuthenticationFilter
public UsernamePasswordRpcAuthenticationFilter()
getUsernameResolver
public RpcAuthenticationValueResolver getUsernameResolver()
setUsernameResolver
public void setUsernameResolver(RpcAuthenticationValueResolver usernameResolver)
getPasswordResolver
public RpcAuthenticationValueResolver getPasswordResolver()
setPasswordResolver
public void setPasswordResolver(RpcAuthenticationValueResolver passwordResolver)
afterPropertiesSet
public void afterPropertiesSet()
throws ServletException
- Specified by:
afterPropertiesSet in interface InitializingBean- Overrides:
afterPropertiesSet in class AbstractRpcAuthenticationProcessingFilter
- Throws:
ServletException
createAuthenticationToken
public Authentication createAuthenticationToken(HttpServletRequest servletRequest,
RPCRequest rpcRequest)
throws AuthenticationException,
IOException,
ServletException
- Specified by:
createAuthenticationToken in class AbstractRpcAuthenticationProcessingFilter
- Throws:
AuthenticationException
IOException
ServletException
updateDetails
protected void updateDetails(HttpServletRequest request,
UsernamePasswordAuthenticationToken authentication)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.