Date: 2004-12-27T19:52:27
Editor: FumitadaHattori
Wiki: Apache Beehive Wiki
Page: WsmSecurityModel
URL: http://wiki.apache.org/beehive/WsmSecurityModel
no comment
Change Log:
------------------------------------------------------------------------------
@@ -56,8 +56,7 @@
- No restrictions to access the showStatus method. ( Everybody can access the
method. )
-To enable any of security models for WSM on Axis, you have to set up two stuff
which are
-role information and server-config.wsdd
+To enable any of security models for WSM on Axis, you have to set up two
steps: set up the role information and modify server-config.wsdd.
= To set up role information. =
@@ -162,24 +161,19 @@
<!--<parameter name="sendMultiRefs" value="true"/>-->
<parameter name="sendXMLDeclaration" value="true"/>
<requestFlow>
+
<handler
type="java:org.apache.beehive.wsm.axis.AnnotatedWebServiceDeploymentHandler">
<parameter name="scope" value="session"/>
</handler>
- <handler
type="java:org.apache.beehive.wsm.axis.DropInDeploymentHandler">
- <parameter name="scope" value="session"/>
- </handler>
- <handler
type="java:org.apache.beehive.wsm.axis.handlers.WsmAuthenticationHandler">
+ <handler
type="java:org.apache.beehive.wsm.axis.AuthenticationHandler">
<parameter name="securityModel"
value="org.apache.beehive.wsm.axis.security.model.ServletSecurityModel"/>
</handler>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="session"/>
</handler>
- <!--<handler type="java:org.apache.axis.handlers.JWSHandler">
- <parameter name="scope" value="request"/>
- <parameter name="extension" value=".jwr"/>
- </handler>-->
+
</requestFlow>
</globalConfiguration>
<handler name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/>
@@ -215,20 +209,20 @@
You can find the handler element below in server-config.wsdd above.
This is for servlet security model.
{{{
-<handler
type="java:org.apache.beehive.wsm.axis.handlers.WsmAuthenticationHandler">
+<handler type="java:org.apache.beehive.wsm.axis.AuthenticationHandler">
<parameter name="securityModel"
value="org.apache.beehive.wsm.axis.security.model.ServletSecurityModel"/>
</handler>
}}}
To use Axis security model, please replace the handler above with lines below.
{{{
-<handler
type="java:org.apache.beehive.wsm.axis.handlers.WsmAuthenticationHandler">
+<handler type="java:org.apache.beehive.wsm.axis.AuthenticationHandler">
<parameter name="securityModel"
value="org.apache.beehive.wsm.axis.security.model.AxisSecurityModel"/>
</handler>
}}}
This is for Beehive security model. To use this model, please replace the
handler above with lines below.
{{{
-<handler
type="java:org.apache.beehive.wsm.axis.handlers.WsmAuthenticationHandler">
+<handler type="java:org.apache.beehive.wsm.axis.AuthenticationHandler">
<parameter name="securityModel"
value="org.apache.beehive.wsm.axis.security.model.BeehiveMemorySecurityModel"/>
</handler>
}}}