org.deegree.services.controller
Class Credentials

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

public class Credentials
extends java.lang.Object

Basic component for the credentials.

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

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

Constructor Detail

Credentials

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

Parameters:
user -
password -
sessionId -

Credentials

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

Parameters:
user -
password -
Method Detail

getUser

public java.lang.String getUser()
Returns:
the user

getPassword

public java.lang.String getPassword()
Returns:
the password

getSessionId

public java.lang.String getSessionId()
Returns:
the sessionId

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.