org.deegree.services.controller
Class Credentials
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
-
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.