SAP NetWeaver 7.1 Composition Environment

com.sap.security.api.logon
Class WebCallback

java.lang.Object
  extended by com.sap.security.api.logon.WebCallback
All Implemented Interfaces:
Callback

Deprecated. Must not be used any longer.

public class WebCallback
extends Object
implements Callback

JAAS Callback for Weblications. Use this one when a HTTPServletRequest or HTTPServletResponse is needed in the login module.


Constructor Summary
WebCallback()
          Deprecated. Creates a new WebCallback.
 
Method Summary
 char[] getPassword()
          Deprecated. Get the password of the user.
 HttpServletRequest getRequest()
          Deprecated. Gets the request.
 HttpServletResponse getResponse()
          Deprecated. Returns the response of the current callback.
 String getUser()
          Deprecated. Gets the user to logon.
 void setPassword(char[] password)
          Deprecated. Sets the password for logon.
 void setPassword(String password)
          Deprecated. Sets the password for logon.
 void setRequest(HttpServletRequest request)
          Deprecated. Sets the request.
 void setResponse(HttpServletResponse response)
          Deprecated. Sets the response for this callback.
 void setUser(String user)
          Deprecated. Sets the user for this callback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebCallback

public WebCallback()
Deprecated. 
Creates a new WebCallback.

Method Detail

getUser

public String getUser()
Deprecated. 
Gets the user to logon.

Returns:
User or null if not available

setRequest

public void setRequest(HttpServletRequest request)
Deprecated. 
Sets the request.

Parameters:
request - the request

getRequest

public HttpServletRequest getRequest()
Deprecated. 
Gets the request.

Returns:
request or null if not available

setPassword

public void setPassword(String password)
Deprecated. 
Sets the password for logon.

Parameters:
password - the password of the user

setPassword

public void setPassword(char[] password)
Deprecated. 
Sets the password for logon.

Parameters:
password - the password of the user

getPassword

public char[] getPassword()
Deprecated. 
Get the password of the user.

Returns:
password or null if not available

getResponse

public HttpServletResponse getResponse()
Deprecated. 
Returns the response of the current callback.

Returns:
response or null if not available

setResponse

public void setResponse(HttpServletResponse response)
Deprecated. 
Sets the response for this callback.

Parameters:
response - the response

setUser

public void setUser(String user)
Deprecated. 
Sets the user for this callback.

Parameters:
user - the user

SAP NetWeaver 7.1 Composition Environment

Copyright © 2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.