directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FC-215) User Add entry already exists exception
Date Wed, 26 Jul 2017 21:40:00 GMT

     [ https://issues.apache.org/jira/browse/FC-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shawn McKinney closed FC-215.
-----------------------------

> User Add entry already exists exception
> ---------------------------------------
>
>                 Key: FC-215
>                 URL: https://issues.apache.org/jira/browse/FC-215
>             Project: FORTRESS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Shawn McKinney
>            Assignee: Shawn McKinney
>            Priority: Minor
>             Fix For: 2.0.1
>
>
> On user add distinguish between LDAP exception and user already present"
>     User create( User entity ) throws CreateException
>     {
>      ...
>         catch ( LdapEntryAlreadyExistsException e )
>         {
>             String error = "create userId [" + entity.getUserId() + "] failed, already
exists in directory";
>             ...
>         }
>         catch ( LdapException e )
>         {
>             String error = "create userId [" + entity.getUserId() + "] caught LDAPException="
+ e.getMessage();
>        ....
>         }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message