|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the public interface class for the LDAP configuration object. It is used to control communications between the personalization server and an LDAP directory server, and to access configuration information.
| Method Summary | |
void |
addGroupAttribute(java.lang.String attribute)
Adds an attribute to the list of attributes to be retrieved from the LDAP server for group entries |
void |
addUserAttribute(java.lang.String attribute)
Adds an attribute to the list of attributes to be retrieved from the LDAP server for user entries |
java.lang.String |
getAuthenticationType()
Gets the authentication type for the LDAP server. |
java.lang.String[] |
getGroupAttributes()
Returns the names of the attributes to be retrieved from the LDAP server for group entries. |
java.lang.String |
getGroupDN()
Gets the group DN for the LDAP server. |
java.lang.String |
getGroupNameAttribute()
Gets the group name attribute for the LDAP server. |
java.lang.String |
getGroupUserNameAttribute()
Gets the group user name attribute for the LDAP server. |
java.lang.String |
getPrincipal()
Gets the principal user for the LDAP server. |
java.lang.String |
getPrincipalCredential()
Gets the principal password for the LDAP server. |
java.lang.String |
getServerURL()
Gets the URL for the LDAP server. |
java.lang.String[] |
getUserAttributes()
Returns the names of the attributes to be retrieved from the LDAP server for user entries. |
java.lang.String |
getUserDN()
Gets the user DN for the LDAP server. |
java.lang.String |
getUserNameAttribute()
Gets the user name attribute for the LDAP server. |
java.lang.String |
getUserPasswordAttribute()
Gets the user password attribute for the LDAP server. |
boolean |
groupIsContext()
Indicates whether the group is context. |
boolean |
isLDAPEnabled()
Check the current configuration to determine if LDAP is enabled |
boolean |
isSSL()
Indicates whether SSL must be used to communicate with the LDAP server. |
void |
removeGroupAttribute(java.lang.String attribute)
Removes an attribute from the list of attributes to be retrieved from the LDAP server for group entries |
void |
removeUserAttribute(java.lang.String attribute)
Removes an attribute from the list of attributes to be retrieved from the LDAP server for user entries |
void |
setGroupAttributes(java.lang.String[] newAttributes)
Sets the names of the attributes to be retrieved from the LDAP server for group entries, according to the provided array. |
void |
setLDAPEnabled(boolean flag)
Set the flag to enable LDAP |
void |
setUserAttributes(java.lang.String[] newAttributes)
Sets the names of the attributes to be retrieved from the LDAP server for user entries, according to the provided array. |
| Method Detail |
public void addGroupAttribute(java.lang.String attribute)
throws java.lang.Exception,
java.rmi.RemoteException
attribute - the name of the attribute to addRemoteException - general error
public void removeGroupAttribute(java.lang.String attribute)
throws java.lang.Exception,
java.rmi.RemoteException
attribute - the name of the attribute to removeRemoteException - general error
public java.lang.String[] getGroupAttributes()
throws java.lang.Exception,
java.rmi.RemoteException
String [] group attribute names. If no attributes,
returns an empty array.RemoteException - general error
public void setGroupAttributes(java.lang.String[] newAttributes)
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public void addUserAttribute(java.lang.String attribute)
throws java.lang.Exception,
java.rmi.RemoteException
attribute - the name of the attribute to addRemoteException - general error
public void removeUserAttribute(java.lang.String attribute)
throws java.lang.Exception,
java.rmi.RemoteException
attribute - the name of the attribute to removeRemoteException - general error
public java.lang.String[] getUserAttributes()
throws java.lang.Exception,
java.rmi.RemoteException
String [] group attribute names. If no attributes,
returns an empty array.RemoteException - general error
public void setUserAttributes(java.lang.String[] newAttributes)
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getServerURL()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getPrincipal()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getPrincipalCredential()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public boolean isSSL()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getAuthenticationType()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getUserDN()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getGroupDN()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getUserNameAttribute()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getGroupNameAttribute()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getGroupUserNameAttribute()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public java.lang.String getUserPasswordAttribute()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public boolean groupIsContext()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public boolean isLDAPEnabled()
throws java.lang.Exception,
java.rmi.RemoteException
RemoteException - general error
public void setLDAPEnabled(boolean flag)
throws java.lang.Exception,
java.rmi.RemoteException
flag - true to enable LDAP, false to disable itRemoteException - general error
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||