Hello Oleg,

Below is my jboss.jcml:
================== jboss.jcml ====================
<?xml version="1.0"?>

<server>
     <mbean name="Adaptor:name=html">
       <attribute name="MaxActiveClientCount">10</attribute>
       <attribute name="Parser" />
       <attribute name="Port">8082</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=MLet">
       <attribute 
name="LibraryDirectory">D:/Apps/jboss_jetty/jboss-PRE-2.1/bin</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=TransactionManager">
       <attribute name="TransactionTimeout">300</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Logging,type=Console">
       <attribute name="Format">[{2}] {4}</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Webserver">
       <attribute name="Port">8083</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Logging,type=File">
       <attribute name="Format">[{2}] {4}</attribute>
       <attribute name="LogName">server</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=XADataSource,name=InstantDB">
       <attribute name="Properties"></attribute>
       <attribute 
name="URL">jdbc:idb:../conf/default/instantdb.properties</attribute>
       <attribute name="GCMinIdleTime">1200000</attribute>
       <attribute name="JDBCUser" />
       <attribute name="MaxSize">10</attribute>
       <attribute name="Password" />
       <attribute name="GCEnabled">false</attribute>
       <attribute name="InvalidateOnError">false</attribute>
       <attribute name="TimestampUsed">false</attribute>
       <attribute name="Blocking">true</attribute>
       <attribute name="GCInterval">120000</attribute>
       <attribute name="IdleTimeout">1800000</attribute>
       <attribute name="IdleTimeoutEnabled">false</attribute>
       <attribute name="LoggingEnabled">false</attribute>
       <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
       <attribute name="MinSize">0</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Jetty">
       <attribute name="UnpackWars">false</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Hypersonic">
       <attribute name="Port">1476</attribute>
       <attribute name="Silent">true</attribute>
       <attribute name="Database">default</attribute>
       <attribute name="Trace">false</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Naming">
       <attribute name="Port">1099</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=XADataSource,name=DefaultDS">
       <attribute name="Properties"></attribute>
       <attribute 
name="URL">jdbc:HypersonicSQL:hsql://localhost:1476</attribute>
       <attribute name="GCMinIdleTime">1200000</attribute>
       <attribute name="JDBCUser">sa</attribute>
       <attribute name="MaxSize">10</attribute>
       <attribute name="Password" />
       <attribute name="GCEnabled">false</attribute>
       <attribute name="InvalidateOnError">false</attribute>
       <attribute name="TimestampUsed">false</attribute>
       <attribute name="Blocking">true</attribute>
       <attribute name="GCInterval">120000</attribute>
       <attribute name="IdleTimeout">1800000</attribute>
       <attribute name="IdleTimeoutEnabled">false</attribute>
       <attribute name="LoggingEnabled">false</attribute>
       <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
       <attribute name="MinSize">0</attribute>
     </mbean>
     <mbean name="EJB:service=ContainerFactory">
       <attribute name="VerifyDeployments">true</attribute>
       <attribute name="MetricsEnabled">false</attribute>
       <attribute name="VerifierVerbose">true</attribute>
     </mbean>
   </server>

=======================================================
This does not have  JaasSecutityManagerService entry, but when I add one 
like below , it does  not like it and removes automatically on server 
restart:

<mbean code="org.jboss.security.JaasSecurityManagerService"
        name="DefaultDomain:service=JaasSecurityManager" />



DOCO says:
====================================
Setting Up the RealmMapping and EJBSecurityManager in JNDI
So the container configuration security elements specify the JNDI names 
where the desired RealmMapping and EJBSecurityManager implementations are to 
be obtained from for a given container. Now the question is how to bind 
implementations into the JBoss server JNDI namespace. The answer is to 
create a JMX mbean that creates and binds the desired implementations at 
server startup. The JaasSecurityManagerService is an mbean that has been 
written that we will use to perform the required setup.
To configure the JaasSecurityManagerService, open the 
${jboss_home}/conf/default/jboss.jcml file and look for an entry like:

<!-- JAAS security manager and realm mapping -->
<mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
        name="DefaultDomain:service=JaasSecurityManager" />
==============================================================

I'm really stuck here, any help is much appreciated.

Thanks,

~JM



>From: Oleg Nitz <[EMAIL PROTECTED]>
>Reply-To: "jBoss" <[EMAIL PROTECTED]>
>To: "jBoss" <[EMAIL PROTECTED]>
>Subject: Re: [jBoss-User] JAAS Based Security in JBoss
>Date: Thu, 1 Feb 2001 01:03:45 +0200
>
>Monkey,
>
>You don't have to modify jboss.jcml because it already contains
>JaasSecutityManagerService entry. Please, check the original
>jboss.jcml from the JBoss distribution once more.
>I guess that you add the second entry and then it is removed.
>
>Oleg
>
>On Wednesday 31 January 2001 20:46, jBoss Monkey wrote:
> > Oleg,
> > I could not get the JAAS to work after following this document step
> > by step. The Security How-To document asks for adding entry into
> > jboss.jcml, but when I do so, the entry is removed automatically
> > after restart of server.
> >
> > Do you have any more ideas please.
> >
> > Thanks,
> >
> > ~jm
> >
> > >From: Oleg Nitz <[EMAIL PROTECTED]>
> > >
> > >http://www.jboss.org/documentation/HowTo.Security.html
> > >
> > >Cor Hofman wrote:
> > > > I am heavily interested in this topic as well.
> > > > So anybody out there with this knowledge?
> > > >
> > > > Cor Hofman
> > > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > Subject: Re: [jBoss-User] JAAS Based Security in JBoss
> > > >
> > > >
> > > > Please confirm if someone got JAAS Based Security in JBoss  to
> > > > work. Thanks,
> > > >
> > > > ~jm
> > > > _______________________________________________________________

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to