org.hibersap.session
Class Credentials

java.lang.Object
  extended by org.hibersap.session.Credentials

public class Credentials
extends Object

Defines logon properties that may be used at runtime, when a new Session is created, to overwrite configured properties. Use this for logon properties than can not be statically defined, i.e. when a user has to enter his SAP user / password in a dialog or when the application supports single sign-on. When creating a new Session, only those fields that are set using the setter methods of this class (i.e. which are not null) are used to overwrite the configured properties. All other properties remain as configured. The fields reflect the fields of JCoCustomDestination.UserData.


Constructor Summary
Credentials()
           
 
Method Summary
 boolean equals(Object o)
           
 String getAliasUser()
           
 String getClient()
           
 String getLanguage()
           
 String getPassword()
           
 String getSsoTicket()
           
 String getUser()
           
 String getX509Certificate()
           
 int hashCode()
           
 Credentials setAliasUser(String aliasUser)
           
 Credentials setClient(String client)
           
 Credentials setLanguage(String language)
           
 Credentials setPassword(String password)
           
 Credentials setSsoTicket(String ssoTicket)
           
 Credentials setUser(String user)
           
 Credentials setX509Certificate(String certificate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials()
Method Detail

getUser

public String getUser()

setUser

public Credentials setUser(String user)

getAliasUser

public String getAliasUser()

setAliasUser

public Credentials setAliasUser(String aliasUser)

getClient

public String getClient()

setClient

public Credentials setClient(String client)

getLanguage

public String getLanguage()

setLanguage

public Credentials setLanguage(String language)

getPassword

public String getPassword()

setPassword

public Credentials setPassword(String password)

getSsoTicket

public String getSsoTicket()

setSsoTicket

public Credentials setSsoTicket(String ssoTicket)

getX509Certificate

public String getX509Certificate()

setX509Certificate

public Credentials setX509Certificate(String certificate)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 akquinet tech@spree GmbH. All Rights Reserved.