[ https://issues.apache.org/jira/browse/SLING-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897753#action_12897753 ]
Felix Meschberger commented on SLING-1647: ------------------------------------------ Change the OpenID and Form authentication handlers to set their handler specific data as properties in the AuthenticationInfo map instead of a SimpleCredentials object. The JcrResourceResolverFactoryImpl class will copy these properties to the SimpleCredentials object when the ResourceResolver is created. Done in Rev. 984778. > Cleanup Authentication Info constants and implementation > -------------------------------------------------------- > > Key: SLING-1647 > URL: https://issues.apache.org/jira/browse/SLING-1647 > Project: Sling > Issue Type: Improvement > Components: API, Commons, JCR > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: JCR Resource 2.0.8, Commons Auth 1.0.0, API 2.1.0 > > > The constants defined on the AuthenticationInfo class in the Commons Auth > bundle should be moved as follows: > USER = "user.name" > to the ResourceResolverFactory interface > PASSWORD = "user.password"; > to the ResourceResolverFactory interface > CREDENTIALS = "user.jcr.credentials"; > to the JcrResourceResolverFactory interface > In addition support for checking the type of a credentials property is to be > removed from the AuthenticationInfo class. > Likewise the following constants currently internal to the > JcrResourceResolverFactoryImpl class should be moved: > AUTH_INFO_WORKSPACE = "internal.user.jcr.workspace"; > to the JcrResourceResolverFactory interface > and change value to user.jcr.workspace (removing the internal > prefix) > SESSION_ATTR_IMPERSONATOR = "impersonator"; > to the ResourceResolverFactory interface > Finally the following constant from the ResourceResolverFactory interface > should be changed: > SUDO_USER_ID = "sudo.user.id"; > change the value to user.impersonation > At the end use constants should be ensured, mostly in the > JcrResourceResolverFactoryImpl and JcrResourceResolver classes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.