geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-5602) SPNEGO support in Geronimo failed.
Date Tue, 21 Sep 2010 09:42:34 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Han Hong Fang updated GERONIMO-5602:
------------------------------------

    Attachment: file-realm-demo-2.1.0.0(updated).war

Add following dependency into the geronimo-web.xml, and this is required since G2.2 when refers
to a security realm.
      
       <dep:dependencies>
	        <dep:dependency>
	        	<dep:groupId>console.realm</dep:groupId>
	        	<dep:artifactId>SpnegoTest</dep:artifactId>
	        	<dep:version>1.0</dep:version>
	        	<dep:type>car</dep:type>
	        </dep:dependency>
        </dep:dependencies>

I made the above change and re-build the war file. Please have a try. Thanks!

> SPNEGO support in Geronimo failed.
> ----------------------------------
>
>                 Key: GERONIMO-5602
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5602
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0
>         Environment: OS:Windows 7
> Server:Geronimo 3.0 Build 2010.09.08-09:38:48.805+0800 
> JVM:IBM 1.6.0
>            Reporter: janel Zhang
>            Assignee: Han Hong Fang
>             Fix For: 3.0
>
>         Attachments: file-realm-demo-2.1.0.0(updated).war, file-realm-demo-2.1.0.0.war,
spnego_properties_realm_tester1.xml
>
>
> 1.Deploy SPENGO realm spnego_properties_realm_tester1.xml, work correctly.
> 2.Deploy war file-realm-demo-2.1.0.0.war,fail.The error is as following:
>  Unable to resolve reference "ConfigurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
> org.apache.geronimo.common.DeploymentException: Unable to resolve reference "Con
> figurationFactory"
>     in gbean com.ibm.wasce.samples/security-demo/2.1.0.0/war?J2EEApplication=nul
> l,j2eeType=WebModule,name=com.ibm.wasce.samples/security-demo/2.1.0.0/war
>     to a gbean matching the pattern [?name=SpnegoTest#org.apache.geronimo.securi
> ty.jaas.ConfigurationFactory]
>     due to: No matches for referencePatterns: [?name=SpnegoTest#org.apache.geron
> imo.security.jaas.ConfigurationFactory]
>         at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData
> (DeploymentContext.java:534)
>         at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:872)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 245)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:116)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>         at java.lang.Thread.run(Thread.java:736)

-- 
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