[Security & JAAS/JBoss] - Re: JAAS newbie - missing something that should be obvious
by grego@spiekerpoint.com
"jaikiran" wrote :
| | Change it to:
| |
| | | <?xml version="1.0" encoding="UTF-8"?>
| | | <jboss-web>
| | | <security-domain>SPDB</security-domain>
| | | </jboss-web>
| |
| | and give it a try.
Ok - nice - that worked well! Thank you!!!
One question on the next part. Now the error report from the jboss console says:
14:23:52,491 ERROR [JBossSecurityMgrRealm] Error during authenticate
| javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: SPDB not bound]
|
|
But the login-config.xml file clearly has the SPDB section in it... Do I need to expressly tell JAAS about the new application pollicy? <and I have restarted jboss after adding the section to the login-config.xml file>
Should I be moving the EJB security-domain over to that as well? as in (jboss.xml):
| <jboss>
| <security-domain>java:/jaas/SPDB</security-domain>
| </jboss>
|
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990766#3990766
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990766
18 years, 1 month
[JBoss Portal] - Spring Portlet Instance is not created
by abhilashk_cse
I am facing some problems while deploying Spring portlet in JBoss Portal 2.4. I have created a Spring Portlet in the same way the Books portlet of JBoss Examples have done. I have deployed the war file in the deploy directory and try to access it from main portal. Only the Page is created not the portlet instance.
---------------------------------------------------------------------------------
Error messages:
---------------------------------------------------------------------------------
00:36:34,045 ERROR [AbstractKernelController] Error installing to Start: name=po
rtal:container=Portlet,id=/jboss-salesojects.leads state=Create
org.jboss.portal.portlet.container.PortletInitializationException: The portlet l
eads threw an error during init
00:36:37,607 WARN [InstanceMetaData] The instance LeadsPortletInstance will not
be created because the component referenced is outside of the same web app /jboss-salesobjects.leads
00:36:37,686 WARN [PortletAppDeployment] Failed to create instance LeadsPortlet
Instance of portlet /jboss-salesojects.leads because portlet /jboss-salesojects.
leads is not available
---------------------------------------------------------------------------------
jboss-salesobjects is my war name.
---------------------------------------------------------------------------------
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990765#3990765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990765
18 years, 1 month