[ 
https://issues.apache.org/jira/browse/JCR-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815927#comment-13815927
 ] 

angela commented on JCR-3293:
-----------------------------

the proposed alternative is to populate the subject up front and use null-login 
which is designed to tell the repository that it's not responsible for taking 
care of the authentication... pre-authenticated mode is this called in 
jackrabbit.

> AbstractLoginModule: get rid of trust_credentials_attribute
> -----------------------------------------------------------
>
>                 Key: JCR-3293
>                 URL: https://issues.apache.org/jira/browse/JCR-3293
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4
>            Reporter: angela
>
> based on JCR-2355 we added a very simplistic way to indicate to the login 
> module that the given credentials have
> been preauthenticated. as already stated in the original issue this poses a 
> major security issue as it leaves the
> repository access untrusted.
> i would like to raise those security concern again and would therefore like 
> to get rid of that hack in the long run.
> the suggested procedure:
> - deprecate the attribute (immediately)
> - log a warning if it is used (immediately)
> - document how to fix code that is currently relying on that attribute
> - remove support altogether for the next major release



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to