com.adobe.livecycle.crc.sharepoint.client.types
Class LoginSettings

java.lang.Object
  extended by com.adobe.livecycle.crc.sharepoint.client.types.LoginSettings
All Implemented Interfaces:
java.io.Serializable

public class LoginSettings
extends java.lang.Object
implements java.io.Serializable

It contains the login mode and appropriate credentials required to connect with a SharePoint server.

See Also:
Serialized Form

Constructor Summary
LoginSettings()
           
LoginSettings(java.lang.String userName, java.lang.String password, java.lang.String hostName, java.lang.String domainName)
          Logon settings used to create a connection with SharePoint.
 
Method Summary
 java.lang.String getDomainName()
          Retrieves the name of the domain that contains the SharePoint server.
 java.lang.String getHostName()
          Retrieves the host name.
 LoginMode getLoginMode()
          Retrieves the mode used to log on to a SharePoint server.
 java.lang.String getPassword()
          Retrieves the password used to connect with SharePoint server.
 java.lang.String getUserName()
          Retrieves the name of the user connecting with SharePoint server.
 void setDomainName(java.lang.String domainName)
          Sets the name of the domain that contains the SharePoint server.
 void setHostName(java.lang.String hostName)
          Sets the host name.
 void setLoginMode(LoginMode loginMode)
          Sets the mode used to log on to SharePoint server.
 void setPassword(java.lang.String password)
          Sets the password used to connect with SharePoint server.
 void setUserName(java.lang.String userName)
          Sets the name of the user connecting with SharePoint server.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginSettings

public LoginSettings(java.lang.String userName,
                     java.lang.String password,
                     java.lang.String hostName,
                     java.lang.String domainName)
Logon settings used to create a connection with SharePoint.

Parameters:
userName - Name of the user.
password - Password required to log on.
hostName - Host name of the MS SharePoint server.
domainName - Domain name to use to connect with the SharePoint Server.

LoginSettings

public LoginSettings()
Method Detail

getLoginMode

public LoginMode getLoginMode()
Retrieves the mode used to log on to a SharePoint server.


getPassword

public java.lang.String getPassword()
Retrieves the password used to connect with SharePoint server.


getUserName

public java.lang.String getUserName()
Retrieves the name of the user connecting with SharePoint server.


setLoginMode

public void setLoginMode(LoginMode loginMode)
Sets the mode used to log on to SharePoint server.

Parameters:
loginMode - The mode used to log on.

setPassword

public void setPassword(java.lang.String password)
Sets the password used to connect with SharePoint server.

Parameters:
password - The password required to connect with SharePoint server.

setUserName

public void setUserName(java.lang.String userName)
Sets the name of the user connecting with SharePoint server.

Parameters:
userName - The name of the user connecting with SharePoing server.

getDomainName

public java.lang.String getDomainName()
Retrieves the name of the domain that contains the SharePoint server.


setDomainName

public void setDomainName(java.lang.String domainName)
Sets the name of the domain that contains the SharePoint server.

Parameters:
domainName - The name of the domain that contains the required SharePoint server.

getHostName

public java.lang.String getHostName()
Retrieves the host name.


setHostName

public void setHostName(java.lang.String hostName)
Sets the host name.


toString

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


[an error occurred while processing this directive] [an error occurred while processing this directive]