com.jscape.inet.mft.management.descriptors
Class LDAPAccessAuthenticationServiceDescriptor

java.lang.Object
  extended by com.jscape.inet.mft.management.descriptors.LDAPAccessAuthenticationServiceDescriptor
All Implemented Interfaces:
AuthenticationServiceDescriptor, ServiceDescriptor

public class LDAPAccessAuthenticationServiceDescriptor
extends java.lang.Object
implements AuthenticationServiceDescriptor

LDAP access authentication service descriptor. The service described by this descriptor takes responsibility for authenticating incoming requests against LDAP system.

Author:
Alex
See Also:
Source code

Field Summary
static int DEFAULT_PORT
           
 
Constructor Summary
LDAPAccessAuthenticationServiceDescriptor()
          This constructor is used by serialization sub-system and is not intended to use directly in client code.
LDAPAccessAuthenticationServiceDescriptor(java.lang.String host, int port, java.lang.String userDNPattern, java.lang.String accountTemplate, boolean useSsl, boolean emptyPasswordAllowed)
          Creates a new descriptor instance.
 
Method Summary
 java.lang.String getAccountTemplate()
          Returns the account template name.
 boolean getEmptyPasswordAllowed()
          Returns empty password allowed flag.
 java.lang.String getHost()
          Returns LDAP server host/IP.
 int getPort()
          Returns LDAP server port.
 java.lang.String getUserDNPattern()
          Returns server access pattern.
 boolean getUseSsl()
          Returns SSL usage flag.
 void setAccountsDirectory(java.lang.String value)
          Deprecated.  
 void setAccountTemplate(java.lang.String value)
          Sets the account template name.
 void setEmptyPasswordAllowed(boolean value)
          Sets empty password allowed flag.
 void setHost(java.lang.String value)
          Sets LDAP server host/IP
 void setPort(int value)
          Sets LDAP server port.
 void setUserDNPattern(java.lang.String value)
          Sets server access pattern.
 void setUseSsl(boolean value)
          Sets SSL usage flag.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Constructor Detail

LDAPAccessAuthenticationServiceDescriptor

public LDAPAccessAuthenticationServiceDescriptor(java.lang.String host,
                                                 int port,
                                                 java.lang.String userDNPattern,
                                                 java.lang.String accountTemplate,
                                                 boolean useSsl,
                                                 boolean emptyPasswordAllowed)
Creates a new descriptor instance.

Parameters:
host - LDAP server host/IP
port - LDAP server port
userDNPattern - access pattern
accountTemplate - account template name
useSsl - SSL connection usage flag
emptyPasswordAllowed - empty password allowed

LDAPAccessAuthenticationServiceDescriptor

public LDAPAccessAuthenticationServiceDescriptor()
This constructor is used by serialization sub-system and is not intended to use directly in client code.

Method Detail

getHost

public java.lang.String getHost()
Returns LDAP server host/IP.

Returns:
LDAP server host/IP

setHost

public void setHost(java.lang.String value)
Sets LDAP server host/IP

Parameters:
value - LDAP server host/IP

getPort

public int getPort()
Returns LDAP server port.

Returns:
LDAP server port

setPort

public void setPort(int value)
Sets LDAP server port.

Parameters:
value - LDAP server port

getUserDNPattern

public java.lang.String getUserDNPattern()
Returns server access pattern.

Returns:
server access pattern

setUserDNPattern

public void setUserDNPattern(java.lang.String value)
Sets server access pattern.

Parameters:
value - server access pattern

getAccountTemplate

public java.lang.String getAccountTemplate()
Returns the account template name.

Returns:
the account template name

setAccountTemplate

public void setAccountTemplate(java.lang.String value)
Sets the account template name.

Parameters:
value - the account template name

getUseSsl

public boolean getUseSsl()
Returns SSL usage flag.

Returns:
true if SSL conection should be used false otherwise

setUseSsl

public void setUseSsl(boolean value)
Sets SSL usage flag.

Parameters:
value - if true SSL connection will be used

getEmptyPasswordAllowed

public boolean getEmptyPasswordAllowed()
Returns empty password allowed flag.

Returns:
true if empty password is allowed; false otherwise

setEmptyPasswordAllowed

public void setEmptyPasswordAllowed(boolean value)
Sets empty password allowed flag.

Parameters:
value - if true the empty password will be allowed due authentication

toString

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

setAccountsDirectory

public void setAccountsDirectory(java.lang.String value)
Deprecated. 

Sets accounts home directory.

Parameters:
value - accounts home directory


Copyright © 2007 JSCAPE Corp. All Rights Reserved.