You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/01/28 10:06:00 UTC

[jira] Closed: (SLING-1647) Cleanup Authentication Info constants and implementation

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

Carsten Ziegeler closed SLING-1647.
-----------------------------------


> 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, Authentication, JCR
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.8, Auth Core 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.