Hi Mr. Francesco, finally able to test user authentication using an email address. I am wondering what are configuration setups need to be made to maintain unique constraint on email address? Does this will be part of release Syncope 2.0.3 or need to do any manual configurations?
Thanks a lot for your help. Ravi ________________________________ From: Ravi Singareddy (JIRA) <j...@apache.org> Sent: Wednesday, February 15, 2017 7:16 PM To: dev@syncope.apache.org Subject: [jira] [Commented] (SYNCOPE-1015) User Authentication using email [ https://issues.apache.org/jira/browse/SYNCOPE-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868401#comment-15868401 ] Ravi Singareddy commented on SYNCOPE-1015: ------------------------------------------ I have added a user in syncope-console along with following parameters. username: coolone email: cool...@yahoo.com userid: cool...@hotmail.com I have successfully logged in using username and displayed following contents. {fullname=org.apache.syncope.common.lib.to.AttrTO@389c4eb1[ schemaInfo=org.apache.syncope.common.lib.to.PlainSchemaTO@3fc79729[ type=String mandatoryCondition=true multivalue=false uniqueConstraint=true readonly=false conversionPattern=<null> validatorClass=<null> enumerationValues=<null> enumerationKeys=<null> secretKey=<null> cipherAlgorithm=<null> mimeType=<null> key=fullname anyTypeClass=minimal user ] schema=fullname values=[coolpotel] ], userId=org.apache.syncope.common.lib.to.AttrTO@404bbcbd[ schemaInfo=org.apache.syncope.common.lib.to.PlainSchemaTO@a307a8c[ type=String mandatoryCondition=true multivalue=false uniqueConstraint=true readonly=false conversionPattern=<null> validatorClass=org.apache.syncope.core.persistence.jpa.attrvalue.validation.EmailAddressValidator enumerationValues=<null> enumerationKeys=<null> secretKey=<null> cipherAlgorithm=<null> mimeType=<null> key=userId anyTypeClass=minimal user ] schema=userId values=[cool...@hotmail.com] ], email=org.apache.syncope.common.lib.to.AttrTO@2b9ed6da[ schemaInfo=org.apache.syncope.common.lib.to.PlainSchemaTO@6c61a903[ type=String mandatoryCondition=false multivalue=false uniqueConstraint=false readonly=false conversionPattern=<null> validatorClass=org.apache.syncope.core.persistence.jpa.attrvalue.validation.EmailAddressValidator enumerationValues=<null> enumerationKeys=<null> secretKey=<null> cipherAlgorithm=<null> mimeType=<null> key=email anyTypeClass=minimal user ] schema=email values=[cool...@yahoo.com] ], surname=org.apache.syncope.common.lib.to.AttrTO@34f6515b[ schemaInfo=org.apache.syncope.common.lib.to.PlainSchemaTO@4b34fff9[ type=String mandatoryCondition=true multivalue=false uniqueConstraint=false readonly=false conversionPattern=<null> validatorClass=<null> enumerationValues=<null> enumerationKeys=<null> secretKey=<null> cipherAlgorithm=<null> mimeType=<null> key=surname anyTypeClass=minimal user ] schema=surname values=[Geranimo] ], cool=org.apache.syncope.common.lib.to.AttrTO@658c5a19[ schemaInfo=org.apache.syncope.common.lib.to.PlainSchemaTO@421e361[ type=Boolean mandatoryCondition=false multivalue=false uniqueConstraint=false readonly=false conversionPattern=<null> validatorClass=<null> enumerationValues=<null> enumerationKeys=<null> secretKey=<null> cipherAlgorithm=<null> mimeType=<null> key=cool anyTypeClass=other ] schema=cool values=[false] ]} I have tried to login using email: cool...@yahoo.com is throwing following error: I think this error is coming from creating client session after authenticating with email. java.security.AccessControlException: User cool...@yahoo.com not authenticated at org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:61) at org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42) at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:310) at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:851) at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:764) at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:235) at com.sun.proxy.$Proxy34.read(Unknown Source) at org.apache.syncope.client.lib.SyncopeClient.self(SyncopeClient.java:132) > User Authentication using email > ------------------------------- > > Key: SYNCOPE-1015 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1015 > Project: Syncope > Issue Type: New Feature > Components: core > Reporter: Ravi Singareddy > Assignee: Francesco Chicchiriccò > Fix For: 2.0.3, 2.1.0 > > > In additional to existing user authentication using username, an email will > be used as the user for authenticating the subject. In the modern social > networking sites mostly uses email as the user for authentication. -- This message was sent by Atlassian JIRA (v6.3.15#6346)