org.deegree.ogcwebservices.wass.common
Class GetSessionPasswordHandler
java.lang.Object
org.deegree.ogcwebservices.wass.common.GetSessionPasswordHandler
- All Implemented Interfaces:
- GetSessionHandler
public class GetSessionPasswordHandler
- extends Object
- implements GetSessionHandler
GetSession handler that handles the password method.
- Since:
- 2.0
- Version:
- 2.0, $Revision: 9348 $, $Date: 2007-12-27 17:59:14 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Schmitz, last edited by: $Author: apoth $
Constructor Summary |
GetSessionPasswordHandler(WASSSecurityManager securityManager,
int sessionLifetime)
Creates new instance using a wass SecurityAccessManager instance to create and instantiate
the deegree SecurityAccessManager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetSessionPasswordHandler
public GetSessionPasswordHandler(WASSSecurityManager securityManager,
int sessionLifetime)
throws GeneralSecurityException
- Creates new instance using a wass SecurityAccessManager instance to create and instantiate
the deegree SecurityAccessManager.
- Parameters:
securityManager
- sessionLifetime
-
- Throws:
GeneralSecurityException
handleRequest
public String handleRequest(GetSession request)
throws SessionStatusException,
GeneralSecurityException
- Handles only requests with password authentication method.
- Specified by:
handleRequest
in interface GetSessionHandler
- Parameters:
request
- the request on which to base the authentication
- Returns:
- a string with a session ID or null, if the method of the request is not password
- Throws:
SessionStatusException
GeneralSecurityException
- See Also:
GetSessionHandler.handleRequest(org.deegree.ogcwebservices.wass.common.GetSession)
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net