karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-307) Ldap jaas login module
Date Mon, 06 Dec 2010 23:08:09 GMT

    [ https://issues.apache.org/jira/browse/KARAF-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968473#action_12968473
] 

Achim Nierbeck commented on KARAF-307:
--------------------------------------

Hi, 

the jetty jaas needs a special configuration. 
If you use the Karaf Jetty feature provided by pax, you also need to install the jetty-jaas
feature. 
And to use JAAS with jetty you need to add the following configuration in the jetty.xml

{code}
    <Call name="addBean">
      <Arg>
        <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
		  <Set name="name">karaf</Set>
          <Set name="loginModuleName">karaf</Set>
		  <Set name="roleClassNames">
			<Array type="java.lang.String">
			  <Item>org.apache.karaf.jaas.modules.RolePrincipal</Item>
			</Array>
		  </Set>
        </New>
      </Arg>
    </Call>
{code}

> Ldap jaas login module
> ----------------------
>
>                 Key: KARAF-307
>                 URL: https://issues.apache.org/jira/browse/KARAF-307
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message