org.apache.archiva.admin.model.beans
Class LdapConfiguration

java.lang.Object
  extended by org.apache.archiva.admin.model.beans.LdapConfiguration
All Implemented Interfaces:
Serializable

public class LdapConfiguration
extends Object
implements Serializable

Since:
1.4-M4
Author:
Olivier Lamy
See Also:
Serialized Form

Field Summary
private  String authenticationMethod
          The LDAP authenticationMethod.
private  String baseDn
          The LDAP base dn.
private  String baseGroupsDn
          The LDAP base dn for groups (if empty baseDn is used).
private  boolean bindAuthenticatorEnabled
           
private  String bindDn
          The LDAP bind dn.
private  String contextFactory
          contextFactory to use.
private  Map<String,String> extraProperties
          Field extraProperties.
private  List<PropertyEntry> extraPropertiesEntries
          field to ease json mapping wrapper on extraProperties field
private  String hostName
          The LDAP host.
private  String password
          The LDAP password.
private  int port
          The LDAP port.
private  boolean ssl
          ssl LDAP connection.
private  boolean useRoleNameAsGroup
          Will use role name as LDAP group.
private  boolean writable
          LDAP writable.
 
Constructor Summary
LdapConfiguration()
           
 
Method Summary
 String getAuthenticationMethod()
           
 String getBaseDn()
           
 String getBaseGroupsDn()
           
 String getBindDn()
           
 String getContextFactory()
           
 Map<String,String> getExtraProperties()
           
 List<PropertyEntry> getExtraPropertiesEntries()
           
 String getHostName()
           
 String getPassword()
           
 int getPort()
           
 boolean isBindAuthenticatorEnabled()
           
 boolean isSsl()
           
 boolean isUseRoleNameAsGroup()
           
 boolean isWritable()
           
 void setAuthenticationMethod(String authenticationMethod)
           
 void setBaseDn(String baseDn)
           
 void setBaseGroupsDn(String baseGroupsDn)
           
 void setBindAuthenticatorEnabled(boolean bindAuthenticatorEnabled)
           
 void setBindDn(String bindDn)
           
 void setContextFactory(String contextFactory)
           
 void setExtraProperties(Map<String,String> extraProperties)
           
 void setExtraPropertiesEntries(List<PropertyEntry> extraPropertiesEntries)
           
 void setHostName(String hostName)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 void setSsl(boolean ssl)
           
 void setUseRoleNameAsGroup(boolean useRoleNameAsGroup)
           
 void setWritable(boolean writable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hostName

private String hostName
The LDAP host.


port

private int port
The LDAP port.


ssl

private boolean ssl
ssl LDAP connection.


baseDn

private String baseDn
The LDAP base dn.


contextFactory

private String contextFactory
contextFactory to use.


bindDn

private String bindDn
The LDAP bind dn.


baseGroupsDn

private String baseGroupsDn
The LDAP base dn for groups (if empty baseDn is used).


password

private String password
The LDAP password.


authenticationMethod

private String authenticationMethod
The LDAP authenticationMethod.


bindAuthenticatorEnabled

private boolean bindAuthenticatorEnabled

useRoleNameAsGroup

private boolean useRoleNameAsGroup
Will use role name as LDAP group.


extraProperties

private Map<String,String> extraProperties
Field extraProperties.


extraPropertiesEntries

private List<PropertyEntry> extraPropertiesEntries
field to ease json mapping wrapper on extraProperties field


writable

private boolean writable
LDAP writable.

Constructor Detail

LdapConfiguration

public LdapConfiguration()
Method Detail

getHostName

public String getHostName()

setHostName

public void setHostName(String hostName)

getPort

public int getPort()

setPort

public void setPort(int port)

isSsl

public boolean isSsl()

setSsl

public void setSsl(boolean ssl)

getBaseDn

public String getBaseDn()

setBaseDn

public void setBaseDn(String baseDn)

getContextFactory

public String getContextFactory()

setContextFactory

public void setContextFactory(String contextFactory)

getBindDn

public String getBindDn()

setBindDn

public void setBindDn(String bindDn)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getAuthenticationMethod

public String getAuthenticationMethod()

setAuthenticationMethod

public void setAuthenticationMethod(String authenticationMethod)

getExtraProperties

public Map<String,String> getExtraProperties()

setExtraProperties

public void setExtraProperties(Map<String,String> extraProperties)

isBindAuthenticatorEnabled

public boolean isBindAuthenticatorEnabled()

setBindAuthenticatorEnabled

public void setBindAuthenticatorEnabled(boolean bindAuthenticatorEnabled)

getExtraPropertiesEntries

public List<PropertyEntry> getExtraPropertiesEntries()

setExtraPropertiesEntries

public void setExtraPropertiesEntries(List<PropertyEntry> extraPropertiesEntries)

getBaseGroupsDn

public String getBaseGroupsDn()

setBaseGroupsDn

public void setBaseGroupsDn(String baseGroupsDn)

isWritable

public boolean isWritable()

setWritable

public void setWritable(boolean writable)

isUseRoleNameAsGroup

public boolean isUseRoleNameAsGroup()

setUseRoleNameAsGroup

public void setUseRoleNameAsGroup(boolean useRoleNameAsGroup)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.