blob: 14a5b2b8390d1f7ff675577553dfd78b5985be16 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership. The
ASF licenses this file to You under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
law or agreed to in writing, software distributed under the License is
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License.
-->
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="CalculatorImpl">
<properties>
# webservice.security.realm
# webservice.security.securityRealm
# webservice.security.transportGarantee = NONE
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = UsernameToken
wss4j.in.passwordType = PasswordText
wss4j.in.passwordCallbackClass = org.superbiz.calculator.CustomPasswordHandler
# automatically added
wss4j.in.validator.{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken = org.apache.openejb.server.cxf.OpenEJBLoginValidator
</properties>
</ejb-deployment>
<ejb-deployment ejb-name="CalculatorImplTimestamp1way">
<properties>
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = Timestamp
</properties>
</ejb-deployment>
<ejb-deployment ejb-name="CalculatorImplTimestamp2ways">
<properties>
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = Timestamp
wss4j.out.action = Timestamp
</properties>
</ejb-deployment>
<ejb-deployment ejb-name="CalculatorImplUsernameTokenPlainPassword">
<properties>
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = UsernameToken
wss4j.in.passwordType = PasswordText
wss4j.in.passwordCallbackClass=org.superbiz.calculator.CustomPasswordHandler
</properties>
</ejb-deployment>
<ejb-deployment ejb-name="CalculatorImplUsernameTokenHashedPassword">
<properties>
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = UsernameToken
wss4j.in.passwordType = PasswordDigest
wss4j.in.passwordCallbackClass=org.superbiz.calculator.CustomPasswordHandler
</properties>
</ejb-deployment>
<ejb-deployment ejb-name="CalculatorImplUsernameTokenPlainPasswordEncrypt">
<properties>
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = UsernameToken Encrypt
wss4j.in.passwordType = PasswordText
wss4j.in.passwordCallbackClass=org.superbiz.calculator.CustomPasswordHandler
wss4j.in.decryptionPropFile = META-INF/CalculatorImplUsernameTokenPlainPasswordEncrypt-server.properties
</properties>
</ejb-deployment>
<ejb-deployment ejb-name="CalculatorImplSign">
<properties>
webservice.security.authMethod = WS-SECURITY
wss4j.in.action = Signature
wss4j.in.passwordCallbackClass=org.superbiz.calculator.CustomPasswordHandler
wss4j.in.signaturePropFile = META-INF/CalculatorImplSign-server.properties
</properties>
</ejb-deployment>
</openejb-jar>