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

Chris Papademos edited comment on SLING-2491 at 7/11/12 10:18 AM:
------------------------------------------------------------------

I found out, why I get null when using config.getProperties()

Upon starting sling for the first time, the Component CreateUserServlet doesn't 
have any Configuration bound to it, thats why I get null. Just adding the 
key-value pair "self.registration.enabled"-"true" doesn't seem to work and I 
don't know how to bind the UserManager Configuration to the Component, without 
using the UI. Maybe I should just modify the sling source and recompile...
                
      was (Author: odiny):
    I found out, why I get null when using config.getProperties()

Upon starting sling for the first time, the Component CreateUserServlet doesn't 
have any Configuration bound to it, thats why I get null.

I dont know though how to bind the UserManager Configuration to the Component, 
without using the UI. Maybe I should just modify the sling source and 
recompile...
                  
> How can I change the self.registration.enabled property in java?
> ----------------------------------------------------------------
>
>                 Key: SLING-2491
>                 URL: https://issues.apache.org/jira/browse/SLING-2491
>             Project: Sling
>          Issue Type: Task
>          Components: JCR
>    Affects Versions: JCR Jackrabbit User Manager 2.1.0
>         Environment: Xubuntu
>            Reporter: Chris Papagrigoriou
>
> Hey I kinda can't find out how to change the the self.registration.enabled 
> property of the CreateUserServlet.
> I tried it via the ConfigurationAdmin but it doesn't seem to work.
> Can anyone tell me how to change it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to