[Security & JAAS/JBoss] - Re: Cannot get JAAS to work
by henkie.maritz@iits
I was under the impression that the iits-login-config.xml will be used instead of the default login-config.xml. I did not change login-config.xml at all.
I see that the following is defined in the login-config.xml:
<!-- The default login configuration used by any security domain that
does not have a application-policy entry with a matching name
-->
<application-policy name = "other">
<!-- A simple server login module, which can be used when the number
of users is relatively small. It uses two properties files:
users.properties, which holds users (key) and their password (value).
roles.properties, which holds users (key) and a comma-separated list of
their roles (value).
The unauthenticatedIdentity property defines the name of the principal
that will be used when a null username and password are presented as is
the case for an unuathenticated web client or MDB. If you want to
allow such users to be authenticated add the property, e.g.,
unauthenticatedIdentity="nobody"
-->
<login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required" />
</application-policy>
So, you are right. But why does JBoss not pick up the policy defined as setout in the first post?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186206#4186206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186206
15 years, 6 months
[EJB/JBoss] - Jboss 5.0.0 CR2 installation problem
by nanda_kishore
When i am trying to run jboss i got this error. I dont know why it is calling messaging service. Can any please give me solution how to install in correct way.
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual Stat
| e}
|
| jboss.ejb:persistencePolicy=database,service=EJBTimerService
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depen
| ds on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
| -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends
| on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
|
| jboss.ejb:service=EJB3TimerService
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depen
| ds on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
|
| jboss.ejb:service=EJBTimerService
| -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configur
| ed}
|
| jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
| -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
|
| jboss.jca:name=JmsXA,service=ManagedConnectionFactory
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.jca:name=JmsXA,service=ManagedConnectionPool
| -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
|
| jboss.jca:name=JmsXA,service=TxCM
| -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
|
| jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
| -> jboss.messaging:service=PostOffice{Create:** NOT FOUND Depends on 'jboss.mes
| saging:service=PostOffice' **}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:** NOT FOUND Depends on 'jboss.mes
| saging:service=PostOffice' **}
|
| jboss.messaging.connectionfactory:service=ConnectionFactory
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:** NOT FOUND Depends on 'jboss.mes
| saging:service=PostOffice' **}
|
| jboss.messaging.destination:name=DLQ,service=Queue
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:** NOT FOUND Depends on 'jboss.mes
| saging:service=PostOffice' **}
|
| jboss.messaging.destination:name=ExpiryQueue,service=Queue
| -> jboss.messaging:service=PostOffice{Create:** NOT FOUND Depends on 'jboss.mes
| saging:service=PostOffice' **}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging:service=ServerPeer
| -> jboss.messaging:service=JMSUserManager{Create:** NOT FOUND Depends on 'jboss
| .messaging:service=JMSUserManager' **}
| -> jboss.messaging:service=PersistenceManager{Create:** NOT FOUND Depends on 'j
| boss.messaging:service=PersistenceManager' **}
|
| jboss.mq:service=DestinationManager
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss:service=KeyGeneratorFactory,type=HiLo
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depen
| ds on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jbo
| ss.jdbc:datasource=DefaultDS,service=metadata' **
|
| jboss.messaging:service=JMSUserManager -> ** NOT FOUND Depends on 'jboss.messagi
| ng:service=JMSUserManager' **
|
| jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'j
| boss.jca:name=DefaultDS,service=DataSourceBinding' **
|
| jboss.messaging:service=PostOffice -> ** NOT FOUND Depends on 'jboss.messaging:s
| ervice=PostOffice' **
|
| jboss.messaging:service=PersistenceManager -> ** NOT FOUND Depends on 'jboss.mes
| saging:service=PersistenceManager' **
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186198#4186198
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186198
15 years, 6 months