deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wass.common
Class GetSessionPasswordHandler

java.lang.Object
  extended by 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: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
GetSessionPasswordHandler(WASSSecurityManager securityManager, int sessionLifetime)
          Creates new instance using a wass SecurityAccessManager instance to create and instantiate the deegree SecurityAccessManager.
 
Method Summary
 String handleRequest(GetSession request)
          Handles only requests with password authentication method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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)

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org