org.wso2.carbon.apacheds
Class PartitionInfo
java.lang.Object
org.wso2.carbon.apacheds.DomainNameEntry
org.wso2.carbon.apacheds.PartitionInfo
public class PartitionInfo
- extends DomainNameEntry
This class encapsulates information needed to create an apacheds partition.
root
wso2.com
false
secret
randall
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionInfo
public PartitionInfo()
PartitionInfo
public PartitionInfo(String partitionId,
String realm,
String rootDN,
AdminInfo partitionAdministrator)
isKdcEnabled
public boolean isKdcEnabled()
setKdcEnabled
public void setKdcEnabled(boolean kdcEnabled)
getPartitionId
public String getPartitionId()
setPartitionId
public void setPartitionId(String partitionId)
getRealm
public String getRealm()
setRealm
public void setRealm(String realm)
getRootDN
public String getRootDN()
setRootDN
public void setRootDN(String rootDN)
getPartitionAdministrator
public AdminInfo getPartitionAdministrator()
setPartitionAdministrator
public void setPartitionAdministrator(AdminInfo partitionAdministrator)
getAdminDomainName
public String getAdminDomainName()
- This method will construct the admin domain name for given partition.
- Returns:
- Will return domain name in the form, uid=aj,dc=example,dc=com
getPreferredDomainComponent
public String getPreferredDomainComponent()
- Usually domain DN of a partition will have a domain component.
This method will gets the first domain component.
E.g :- dc=example,dc=com would return "example" as the domain component.
- Returns:
- First domain component in the domain name. If dc not found in rootDN will return null.
getPartitionKdcPassword
public String getPartitionKdcPassword()
setPartitionKdcPassword
public void setPartitionKdcPassword(String partitionKdcPassword)
getLdapServerPrinciplePassword
public String getLdapServerPrinciplePassword()
setLdapServerPrinciplePassword
public void setLdapServerPrinciplePassword(String ldapServerPrinciplePassword)
Copyright © 2015 WSO2. All rights reserved.