directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-637) Possible to create entry which misses a required attribute
Date Wed, 07 Jun 2006 15:51:31 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-637?page=all ]

Stefan Zoerner updated DIRSERVER-637:
-------------------------------------

    Attachment: AddWithMissingAttributes.java

This JUnit test creates an invalid person entry as described in the issue with the help of
JNDI and its LDAP provider.

> Possible to create entry which misses a required attribute
> ----------------------------------------------------------
>
>          Key: DIRSERVER-637
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-637
>      Project: Directory ApacheDS
>         Type: Bug

>     Versions: 1.0-RC3
>  Environment: ApacheDS 1.0 RC 3
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Microsoft Windows XP version 5.1 Service Pack 1
>     Reporter: Stefan Zoerner
>  Attachments: AddWithMissingAttributes.java
>
> It is possible to create entries which miss required attributes. Here is an example:
objectClass person requires a value for sn, but it is possible to import the following entry:
> dn: cn=Fiona Apple,dc=example,dc=com
> objectclass: top
> objectclass: person
> cn: Fiona Apple
> I add a JUnit test class which passes if the expected error (objectClass violation) occurs.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message