org.deegree.services.controller
Class Credentials

java.lang.Object
  extended by org.deegree.services.controller.Credentials

public class Credentials
extends Object

Basic component for the credentials.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Constructor Summary
Credentials(String user, String password)
          Creates a new Credentials instance without the sessionId.
Credentials(String user, String password, String sessionId)
          Creates a new Credentials instance.
 
Method Summary
 String getPassword()
           
 String getSessionId()
           
 String getUser()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials(String user,
                   String password,
                   String sessionId)
Creates a new Credentials instance.

Parameters:
user -
password -
sessionId -

Credentials

public Credentials(String user,
                   String password)
Creates a new Credentials instance without the sessionId.

Parameters:
user -
password -
Method Detail

getUser

public String getUser()
Returns:
the user

getPassword

public String getPassword()
Returns:
the password

getSessionId

public String getSessionId()
Returns:
the sessionId

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.