public final class IdentitySource
extends Object
vCenter Single Sign On Identity Source.
-
Constructor Summary
Constructors
Creates an instance of IdentitySource class.
-
Method Summary
Get the alias property: The domain's NetBIOS name.
Get the baseGroupDN property: The base distinguished name for groups.
Get the baseUserDN property: The base distinguished name for users.
Get the domain property: The domain's dns name.
Get the name property: The name of the identity source.
Get the password property: The password of the Active Directory user with a minimum of read-only access to Base
DN for users and groups.
Get the primaryServer property: Primary server URL.
Get the secondaryServer property: Secondary server URL.
Get the ssl property: Protect LDAP communication using SSL certificate (LDAPS).
Get the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for
users and group.
void
Set the alias property: The domain's NetBIOS name.
Set the baseGroupDN property: The base distinguished name for groups.
Set the baseUserDN property: The base distinguished name for users.
Set the domain property: The domain's dns name.
Set the name property: The name of the identity source.
Set the password property: The password of the Active Directory user with a minimum of read-only access to Base
DN for users and groups.
Set the primaryServer property: Primary server URL.
Set the secondaryServer property: Secondary server URL.
Set the ssl property: Protect LDAP communication using SSL certificate (LDAPS).
Set the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for
users and group.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IdentitySource
public IdentitySource()
Creates an instance of IdentitySource class.
-
Method Details
-
name
Get the name property: The name of the identity source.
- Returns:
- the name value.
-
withName
Set the name property: The name of the identity source.
- Parameters:
name
- the name value to set.
- Returns:
- the IdentitySource object itself.
-
alias
Get the alias property: The domain's NetBIOS name.
- Returns:
- the alias value.
-
withAlias
Set the alias property: The domain's NetBIOS name.
- Parameters:
alias
- the alias value to set.
- Returns:
- the IdentitySource object itself.
-
domain
Get the domain property: The domain's dns name.
- Returns:
- the domain value.
-
withDomain
Set the domain property: The domain's dns name.
- Parameters:
domain
- the domain value to set.
- Returns:
- the IdentitySource object itself.
-
baseUserDN
Get the baseUserDN property: The base distinguished name for users.
- Returns:
- the baseUserDN value.
-
withBaseUserDN
Set the baseUserDN property: The base distinguished name for users.
- Parameters:
baseUserDN
- the baseUserDN value to set.
- Returns:
- the IdentitySource object itself.
-
baseGroupDN
Get the baseGroupDN property: The base distinguished name for groups.
- Returns:
- the baseGroupDN value.
-
withBaseGroupDN
Set the baseGroupDN property: The base distinguished name for groups.
- Parameters:
baseGroupDN
- the baseGroupDN value to set.
- Returns:
- the IdentitySource object itself.
-
primaryServer
Get the primaryServer property: Primary server URL.
- Returns:
- the primaryServer value.
-
withPrimaryServer
Set the primaryServer property: Primary server URL.
- Parameters:
primaryServer
- the primaryServer value to set.
- Returns:
- the IdentitySource object itself.
-
secondaryServer
public String secondaryServer()
Get the secondaryServer property: Secondary server URL.
- Returns:
- the secondaryServer value.
-
withSecondaryServer
Set the secondaryServer property: Secondary server URL.
- Parameters:
secondaryServer
- the secondaryServer value to set.
- Returns:
- the IdentitySource object itself.
-
ssl
Get the ssl property: Protect LDAP communication using SSL certificate (LDAPS).
- Returns:
- the ssl value.
-
withSsl
Set the ssl property: Protect LDAP communication using SSL certificate (LDAPS).
- Parameters:
ssl
- the ssl value to set.
- Returns:
- the IdentitySource object itself.
-
username
Get the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for
users and group.
- Returns:
- the username value.
-
withUsername
Set the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for
users and group.
- Parameters:
username
- the username value to set.
- Returns:
- the IdentitySource object itself.
-
password
Get the password property: The password of the Active Directory user with a minimum of read-only access to Base
DN for users and groups.
- Returns:
- the password value.
-
withPassword
Set the password property: The password of the Active Directory user with a minimum of read-only access to Base
DN for users and groups.
- Parameters:
password
- the password value to set.
- Returns:
- the IdentitySource object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.