Hi Francesco,

Could you please care about re-run ability also in new integration tests?
UserTestITCase.readWithMailAddressAsUserName() should look like:
    @Test
    public void readWithMailAddressAsUserName() {
        UserTO userTO = createUser(getUniqueSampleTO("m...@domain.org"));
        userTO = userService.read(userTO.getUsername());
        assertNotNull(userTO);
    }

Otherwise we will break fixed [1] again and again.

Regards,
Andrei.

[1] https://issues.apache.org/jira/browse/SYNCOPE-268

> -----Original Message-----
> From: Hudson (JIRA) [mailto:j...@apache.org]
> Sent: Freitag, 1. Februar 2013 16:58
> To: dev@syncope.apache.org
> Subject: [jira] [Commented] (SYNCOPE-136) Password required for resource
> subscription
> 
> 
>     [ https://issues.apache.org/jira/browse/SYNCOPE-
> 136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=13568825#comment-13568825 ]
> 
> Hudson commented on SYNCOPE-136:
> --------------------------------
> 
> Integrated in Syncope-trunk #58 (See
> [https://builds.apache.org/job/Syncope-trunk/58/])
>     [SYNCOPE-136] Feature implemented, test cases added (Revision 1441482)
> 
>      Result = SUCCESS
> ilgrosso :
> Files :
> * /syncope/trunk
> *
> /syncope/trunk/common/src/main/java/org/apache/syncope/common/to/
> ResourceTO.java
> *
> /syncope/trunk/common/src/main/java/org/apache/syncope/common/typ
> es/CipherAlgorithm.java
> *
> /syncope/trunk/console/src/main/java/org/apache/syncope/console/pages
> /panels/ResourceDetailsPanel.java
> *
> /syncope/trunk/console/src/main/resources/org/apache/syncope/console/
> pages/ResourceModalPage.properties
> *
> /syncope/trunk/console/src/main/resources/org/apache/syncope/console/
> pages/ResourceModalPage_it.properties
> *
> /syncope/trunk/console/src/main/resources/org/apache/syncope/console/
> pages/panels/ResourceDetailsPanel.html
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/connid/Pass
> wordGenerator.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/
> beans/ExternalResource.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/
> beans/SyncTask.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/
> beans/user/SyncopeUser.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation
> /impl/PropagationManager.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/Re
> sourceDataBinder.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/Us
> erDataBinder.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/security/Enc
> odePasswordCLI.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/security/Syn
> copeAuthenticationProvider.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/util/Mapping
> Util.java
> *
> /syncope/trunk/core/src/main/java/org/apache/syncope/core/util/Passwor
> dEncoder.java
> *
> /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTest
> ITCase.java
> *
> /syncope/trunk/core/src/test/java/org/apache/syncope/core/security/Pass
> wordEncoderTest.java
> * /syncope/trunk/core/src/test/resources/content.xml
> 
> 
> > Password required for resource subscription
> > -------------------------------------------
> >
> >                 Key: SYNCOPE-136
> >                 URL: https://issues.apache.org/jira/browse/SYNCOPE-136
> >             Project: Syncope
> >          Issue Type: Improvement
> >            Reporter: Francesco Chicchiriccò
> >            Assignee: Francesco Chicchiriccò
> >             Fix For: 1.1.0
> >
> >
> > Currently, cleartext password is always required when subscribing to a new
> external resource.
> > However, in some cases (for example when passwords are stored with
> some symmetric algorithm) this can be avoided.
> > For example, it could be:
> > Case 1: 2-way (a.k.a. symmetric) password cipher algorithm is
> > configured in Syncope Use decrypted password from SyncopeUser to
> subscribe new resource.
> > Case 2: 1-way (a.k.a. hash or asymmetric) password cipher algorithm is
> > configured in Syncope and no clear-text password is available (for example,
> passed via UserMod or provided by a synchronizing resource) Provide, on a
> resource-basis, a mean to configure how new password should be
> generated:
> >  * constant
> >  * random password generation (compliant with resource password
> > policy, if present - see SYNCOPE-121)
> >  * provide custom Java class
> > Discussion thread:
> > http://syncope-dev.1063484.n5.nabble.com/new-password-issue-
> td5589622.
> > html
> 
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to