de.itsvs.cwtrpc.security
Class DefaultRpcHttpSessionStrategy
java.lang.Object
de.itsvs.cwtrpc.security.DefaultRpcHttpSessionStrategy
- All Implemented Interfaces:
- RpcHttpSessionStrategy
public class DefaultRpcHttpSessionStrategy
- extends Object
- implements RpcHttpSessionStrategy
- Since:
- 0.9
- Author:
- Volker Schmidt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRpcHttpSessionStrategy
public DefaultRpcHttpSessionStrategy()
isCreateSession
public boolean isCreateSession()
setCreateSession
public void setCreateSession(boolean createSession)
isClearSession
public boolean isClearSession()
setClearSession
public void setClearSession(boolean clearSession)
isInvalidateSessionOnExpectedException
public boolean isInvalidateSessionOnExpectedException()
setInvalidateSessionOnExpectedException
public void setInvalidateSessionOnExpectedException(boolean invalidateSessionOnExpectedException)
prepareSession
public RpcSessionInvalidationPolicy prepareSession(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Specified by:
prepareSession in interface RpcHttpSessionStrategy
- Throws:
IOException
ServletException
prepareUnpreparedSession
protected RpcSessionInvalidationPolicy prepareUnpreparedSession(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Throws:
IOException
ServletException
clearSession
protected void clearSession(HttpServletRequest request,
HttpServletResponse response,
HttpSession session)
throws IOException,
ServletException
- Throws:
IOException
ServletException
createRpcSessionInvalidationPolicy
protected RpcSessionInvalidationPolicy createRpcSessionInvalidationPolicy(HttpServletRequest request,
HttpServletResponse response,
boolean createdSession)
throws IOException,
ServletException
- Throws:
IOException
ServletException
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.