tyrex.security.ldap
Class LDAPRealm

java.lang.Object
  extended bytyrex.security.container.helper.RolesRealm
      extended bytyrex.security.ldap.LDAPRealm

public class LDAPRealm
extends RolesRealm

Version:
$Revision: 1.6 $ $Date: 2001/03/19 17:39:02 $
Author:
Assaf Arkin

Nested Class Summary
 
Nested classes inherited from class tyrex.security.container.helper.RolesRealm
 
Field Summary
static java.lang.String DEFAULT_REALM_NAME
           
 
Constructor Summary
(package private) LDAPRealm(java.lang.String realmName, java.lang.String url, java.lang.String dnMask, java.lang.String rolesRDN)
           
 
Method Summary
 java.lang.String getDN(java.lang.String name)
           
 java.lang.String getLDAPHost()
           
 int getLDAPPort()
           
 java.lang.String getLDAPUrl()
           
 boolean isDefaultRealm()
           
 void store(java.lang.String authDN, java.lang.String password)
           
 
Methods inherited from class tyrex.security.container.helper.RolesRealm
addRole, getRealmName, getRoleCredentials, listMembers, listRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_REALM_NAME

public static final java.lang.String DEFAULT_REALM_NAME
See Also:
Constant Field Values
Constructor Detail

LDAPRealm

LDAPRealm(java.lang.String realmName,
          java.lang.String url,
          java.lang.String dnMask,
          java.lang.String rolesRDN)
    throws java.net.MalformedURLException,
           netscape.ldap.LDAPException
Method Detail

getLDAPPort

public int getLDAPPort()

getLDAPHost

public java.lang.String getLDAPHost()

getLDAPUrl

public java.lang.String getLDAPUrl()

isDefaultRealm

public boolean isDefaultRealm()

getDN

public java.lang.String getDN(java.lang.String name)

store

public void store(java.lang.String authDN,
                  java.lang.String password)
           throws netscape.ldap.LDAPException
Throws:
netscape.ldap.LDAPException


Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.