Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 77472 invoked from network); 9 Mar 2009 16:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 16:27:43 -0000 Received: (qmail 34474 invoked by uid 500); 9 Mar 2009 16:27:42 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 34430 invoked by uid 500); 9 Mar 2009 16:27:42 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 34421 invoked by uid 99); 9 Mar 2009 16:27:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 09:27:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 16:27:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AA0E723888A5; Mon, 9 Mar 2009 16:27:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r751726 - in /cxf/sandbox/interopfest/wstrust10: ./ src/main/java/interop/client/ src/main/java/interop/server/ Date: Mon, 09 Mar 2009 16:27:21 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090309162721.AA0E723888A5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Mon Mar 9 16:27:20 2009 New Revision: 751726 URL: http://svn.apache.org/viewvc?rev=751726&view=rev Log: Checkstyle updates Modified: cxf/sandbox/interopfest/wstrust10/ (props changed) cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java Propchange: cxf/sandbox/interopfest/wstrust10/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Mon Mar 9 16:27:20 2009 @@ -0,0 +1,10 @@ +.pmd +.checkstyle +.ruleset +target +eclipse-classes +.settings +.classpath +.project +.wtpmodules + Modified: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java?rev=751726&r1=751725&r2=751726&view=diff ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java (original) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java Mon Mar 9 16:27:20 2009 @@ -1,8 +1,4 @@ /** - * Copyright (c) 1993-2007 IONA Technologies PLC. - * All Rights Reserved. - */ -/** * 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 @@ -27,29 +23,12 @@ import java.util.List; import javax.xml.namespace.QName; -import javax.xml.ws.BindingProvider; import javax.xml.ws.Service; +import org.apache.cxf.bus.spring.SpringBusFactory; import org.tempuri.AsymmetricFederatedService; import org.tempuri.SymmetricFederatedService; -import org.apache.cxf.Bus; -import org.apache.cxf.bus.spring.SpringBusFactory; -import org.apache.cxf.endpoint.Endpoint; -import org.apache.cxf.frontend.ClientProxy; -import org.apache.cxf.helpers.XMLUtils; -import org.apache.cxf.service.model.BindingOperationInfo; -import org.apache.cxf.transport.Conduit; -import org.apache.cxf.ws.policy.EffectivePolicy; -import org.apache.cxf.ws.policy.PolicyAssertion; -import org.apache.cxf.ws.policy.PolicyBuilder; -import org.apache.cxf.ws.policy.PolicyEngine; -import org.apache.cxf.ws.security.SecurityConstants; -import org.apache.cxf.ws.security.policy.model.Trust10; -import org.apache.cxf.ws.security.policy.model.Trust13; -import org.apache.cxf.ws.security.tokenstore.SecurityToken; -import org.apache.cxf.ws.security.trust.STSClient; -import org.apache.neethi.Policy; import interopbaseaddress.interop.IPingService; @@ -92,8 +71,8 @@ for (String portPrefix : argv) { try { Service svc; - if (portPrefix.charAt(10) == '_' && - portPrefix.charAt(9) < '7') { + if (portPrefix.charAt(10) == '_' + && portPrefix.charAt(9) < '7') { svc = new SymmetricFederatedService(); } else { svc = new AsymmetricFederatedService(); Modified: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java?rev=751726&r1=751725&r2=751726&view=diff ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java (original) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java Mon Mar 9 16:27:20 2009 @@ -1,6 +1,20 @@ /** - * Copyright (c) 1993-2006 IONA Technologies PLC. - * All Rights Reserved. + * 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. */ package interop.client; Modified: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java?rev=751726&r1=751725&r2=751726&view=diff ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java (original) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java Mon Mar 9 16:27:20 2009 @@ -1,8 +1,21 @@ /** - * Copyright (c) 1993-2007 IONA Technologies PLC. - * All Rights Reserved. + * 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. */ - package interop.client; import java.io.IOException; Modified: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java?rev=751726&r1=751725&r2=751726&view=diff ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java (original) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java Mon Mar 9 16:27:20 2009 @@ -1,6 +1,20 @@ /** - * Copyright (c) 1993-2006 IONA Technologies PLC. - * All Rights Reserved. + * 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. */ package interop.server; Modified: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java?rev=751726&r1=751725&r2=751726&view=diff ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java (original) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java Mon Mar 9 16:27:20 2009 @@ -1,8 +1,4 @@ /** - * Copyright (c) 1993-2007 IONA Technologies PLC. - * All Rights Reserved. - */ -/** * 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 @@ -20,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package interop.server; import javax.xml.ws.Endpoint; @@ -69,7 +64,7 @@ argv = new String[] {"XD-SEES"}; */ } - private final void addProperties(Endpoint ep) { + private void addProperties(Endpoint ep) { ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback()); ep.getProperties().put(SecurityConstants.ENCRYPT_USERNAME, "Bob"); ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES, "etc/bob.properties");