This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi i am currently using jboss 3.2.3 and i have setup security by DatabaseServerLoginModule which will search in db for principal,password and role. I have done this setup by following configuration in login-config.xml of jboss.
<application-policy name = "vmc-security"> <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required"> <module-option name = "unauthenticatedIdentity">guest</module-option> <module-option name="dsJndiName">java:/ssc</module-option> <module-option name = "principalsQuery">select Password from Principals where PrincipalID=?</module-option> <module-option name = "rolesQuery">select Role, RoleGroup from Roles where PrincipalID=?</module-option> <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=ssc</module-option> </login-module> </authentication> </application-policy>
i have also made every servlet secure from web.xml
Now i want to migrate to websphere 5.1 so how can i achive with websphere???
The only way someone could answer that is by repeating what is in the Info Center documentation for WAS 5.1. WebSphere is quite a complex and involved application, so there is no quick way to do what you ask. Your best route is to read through the security sections in the docs. [ May 23, 2005: Message edited by: Paul Sturrock ]