Author: asoldano
Date: 2014-05-26 11:53:21 -0400 (Mon, 26 May 2014)
New Revision: 18696
Removed:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/WebAppResolver.java
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/HandlerChainSortInterceptor.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSSpringConfigurer.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAP.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPBuilder.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPEndpoint.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPRelatesTo.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/EndpointPolicyAttachments.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicyAttachment.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicySetsAnnotationListener.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/RequestHandlerFactoryImpl.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/NsCtxSelectorStoreInterceptor.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBean.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDJmsAddressBean.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/JBossWSResourceResolver.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingInterceptor.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/callback/UsernameTokenCallbackHandler.java
Log:
Misc minor changes (making some fields final, removing unused / deprecated code)
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/HandlerChainSortInterceptor.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/HandlerChainSortInterceptor.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/HandlerChainSortInterceptor.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -44,9 +44,9 @@
*/
public class HandlerChainSortInterceptor extends AbstractPhaseInterceptor<Message>
{
- private Binding binding;
+ private final Binding binding;
@SuppressWarnings("rawtypes")
- private static Comparator<Handler> comparator = new
ConfigDelegateHandlerComparator<Handler>();
+ private static final Comparator<Handler> comparator = new
ConfigDelegateHandlerComparator<Handler>();
public HandlerChainSortInterceptor(Binding b)
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSSpringConfigurer.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSSpringConfigurer.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSSpringConfigurer.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -39,7 +39,7 @@
public class JBossWSSpringConfigurer implements JBossWSConfigurer,
ApplicationContextAware, BusExtension
{
private BeanCustomizer customizer;
- private Configurer delegate;
+ private final Configurer delegate;
public JBossWSSpringConfigurer(Configurer delegate)
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAP.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAP.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAP.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -55,7 +55,7 @@
/**
* the wrapped instance which this class delegates to
*/
- private AddressingProperties implementation;
+ private final AddressingProperties implementation;
CXFMAP(AddressingProperties implementation)
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPBuilder.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPBuilder.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPBuilder.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -46,7 +46,7 @@
*/
public class CXFMAPBuilder implements MAPBuilder
{
- private static MAPBuilder theBuilder = new CXFMAPBuilder();
+ private static final MAPBuilder theBuilder = new CXFMAPBuilder();
public static MAPBuilder getBuilder()
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPEndpoint.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPEndpoint.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPEndpoint.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -39,7 +39,7 @@
*/
public class CXFMAPEndpoint implements MAPEndpoint
{
- private EndpointReferenceType implementation;
+ private final EndpointReferenceType implementation;
CXFMAPEndpoint(EndpointReferenceType implementation)
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPRelatesTo.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPRelatesTo.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/addressing/map/CXFMAPRelatesTo.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -35,8 +35,8 @@
*/
public class CXFMAPRelatesTo implements MAPRelatesTo
{
- private String relatesTo;
- private QName type;
+ private final String relatesTo;
+ private final QName type;
CXFMAPRelatesTo(String relatesTo, QName type)
{
@@ -56,7 +56,7 @@
public void setType(QName type)
{
- this.type = type;
+ throw new UnsupportedOperationException();
}
}
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/EndpointPolicyAttachments.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/EndpointPolicyAttachments.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/EndpointPolicyAttachments.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -39,7 +39,7 @@
*/
public class EndpointPolicyAttachments
{
- private Map<Placement, List<PolicyAttachment>> attachmentMap;
+ private final Map<Placement, List<PolicyAttachment>> attachmentMap;
private EndpointPolicyAttachments(Map<Placement, List<PolicyAttachment>>
attachmentMap) {
this.attachmentMap = attachmentMap;
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicyAttachment.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicyAttachment.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicyAttachment.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -45,8 +45,8 @@
*/
public class PolicyAttachment
{
- private Placement placement;
- private String uri;
+ private final Placement placement;
+ private final String uri;
public PolicyAttachment(Placement placement, String uri)
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicySetsAnnotationListener.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicySetsAnnotationListener.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/extensions/policy/PolicySetsAnnotationListener.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -60,21 +60,22 @@
public class PolicySetsAnnotationListener implements FactoryBeanListener
{
private final Map<Class<?>, EndpointPolicyAttachments> epaMap = new
HashMap<Class<?>, EndpointPolicyAttachments>();
- private PolicyAttachmentStore store;
+ private final PolicyAttachmentStore store;
public PolicySetsAnnotationListener() {
this.store = PolicyAttachmentStore.getDefaultInstance();
}
public PolicySetsAnnotationListener(ClassLoader cl) {
- this.store = PolicyAttachmentStore.getDefaultInstance();
+ PolicyAttachmentStore tmp = PolicyAttachmentStore.getDefaultInstance();
if (cl != null) {
PolicyAttachmentStore pas = new PolicyAttachmentStore(cl);
if (!pas.isEmpty()) {
- pas.merge(this.store);
- this.store = pas;
+ pas.merge(tmp);
+ tmp = pas;
}
}
+ this.store = tmp;
}
public PolicySetsAnnotationListener(PolicyAttachmentStore store) {
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -58,7 +58,7 @@
public class SOAPConnectionImpl extends SOAPConnection
{
- private boolean closed = false;
+ private volatile boolean closed = false;
@Override
public SOAPMessage call(SOAPMessage msgOut, Object addressObject) throws
SOAPException
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -97,7 +97,7 @@
*/
public class JBossWSInvoker extends JAXWSMethodInvoker implements Invoker
{
- private Object targetBean;
+ private volatile Object targetBean;
private final NamespaceContextSelectorWrapperFactory nsCtxSelectorFactory;
public JBossWSInvoker() {
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/RequestHandlerFactoryImpl.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/RequestHandlerFactoryImpl.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/RequestHandlerFactoryImpl.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2014, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -30,12 +30,6 @@
*/
public class RequestHandlerFactoryImpl extends RequestHandlerFactory
{
- @Deprecated
- public RequestHandler newRequestHandler()
- {
- return new RequestHandlerImpl();
- }
-
public RequestHandler getRequestHandler()
{
return RequestHandlerImpl.getInstance();
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/NsCtxSelectorStoreInterceptor.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/NsCtxSelectorStoreInterceptor.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/NsCtxSelectorStoreInterceptor.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -40,7 +40,7 @@
*/
public class NsCtxSelectorStoreInterceptor extends
AbstractPhaseInterceptor<Message>
{
- private NamespaceContextSelectorWrapperFactory factory;
+ private final NamespaceContextSelectorWrapperFactory factory;
public NsCtxSelectorStoreInterceptor()
{
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBean.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBean.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBean.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -32,8 +32,8 @@
*/
public class DDBean
{
- private String beanName;
- private String beanClass;
+ private final String beanName;
+ private final String beanClass;
public DDBean(String beanName, String beanClass)
{
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -43,11 +43,11 @@
public class DDBeans
{
// The Required services.
- private List<DDEndpoint> endpoints = new ArrayList<DDEndpoint>();
+ private final List<DDEndpoint> endpoints = new ArrayList<DDEndpoint>();
// Optional additional beans.
- private List<DDBean> beans = new LinkedList<DDBean>();
+ private final List<DDBean> beans = new LinkedList<DDBean>();
- private List<DDJmsAddressBean> addressBeans = new
LinkedList<DDJmsAddressBean>();
+ private final List<DDJmsAddressBean> addressBeans = new
LinkedList<DDJmsAddressBean>();
// The derived temp file
private File tmpFile;
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDJmsAddressBean.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDJmsAddressBean.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDJmsAddressBean.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -33,9 +33,9 @@
*/
public class DDJmsAddressBean
{
- private String portName;
- private Properties properties;
- private boolean isRequest = true;
+ private final String portName;
+ private final Properties properties;
+ private final boolean isRequest;
public DDJmsAddressBean(String portName, boolean isRequest, Properties properties)
{
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/JBossWSResourceResolver.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/JBossWSResourceResolver.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/JBossWSResourceResolver.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -39,7 +39,7 @@
*/
public class JBossWSResourceResolver implements ResourceResolver
{
- private org.jboss.wsf.spi.deployment.ResourceResolver resolver;
+ private final org.jboss.wsf.spi.deployment.ResourceResolver resolver;
public JBossWSResourceResolver(org.jboss.wsf.spi.deployment.ResourceResolver
resolver)
{
Deleted:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/WebAppResolver.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/WebAppResolver.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/resolver/WebAppResolver.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.cxf.resolver;
-
-import org.jboss.wsf.spi.management.EndpointResolver;
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.spi.deployment.EndpointState;
-
-import javax.management.ObjectName;
-import java.util.Iterator;
-
-/**
- * Resolves Endpoints by Servlet name and web context path.
- *
- * @author Heiko.Braun(a)jboss.com
- * Created: Jul 24, 2007
- */
-public class WebAppResolver implements EndpointResolver
-{
- private String contextPath;
- private String servletName;
-
- public WebAppResolver(String contextPath, String servletName)
- {
- this.contextPath = contextPath;
- this.servletName = servletName;
- }
-
- public Endpoint query(Iterator<Endpoint> endpoints)
- {
- Endpoint endpoint = null;
-
- if (contextPath.startsWith("/"))
- contextPath = contextPath.substring(1);
-
- while(endpoints.hasNext())
- {
- Endpoint auxEndpoint = endpoints.next();
- if (EndpointState.STARTED.equals(auxEndpoint.getState())) {
- ObjectName sepId = auxEndpoint.getName();
- String propContext = sepId.getKeyProperty(Endpoint.SEPID_PROPERTY_CONTEXT);
- String propEndpoint =
sepId.getKeyProperty(Endpoint.SEPID_PROPERTY_ENDPOINT);
- if (servletName.equals(propEndpoint) &&
contextPath.equals(propContext))
- {
- endpoint = auxEndpoint;
- break;
- }
- }
- }
-
- return endpoint;
- }
-}
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingInterceptor.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingInterceptor.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingInterceptor.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -60,11 +60,11 @@
*/
public class SubjectCreatingInterceptor extends WSS4JInInterceptor
{
- protected SubjectCreator helper = new SubjectCreator();
+ protected final SubjectCreator helper = new SubjectCreator();
private static final Logger LOG =
LogUtils.getL7dLogger(SubjectCreatingInterceptor.class);
- private ThreadLocal<SecurityDomainContext> sdc = new
ThreadLocal<SecurityDomainContext>();
+ private final ThreadLocal<SecurityDomainContext> sdc = new
ThreadLocal<SecurityDomainContext>();
private boolean supportDigestPasswords;
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -51,7 +51,7 @@
*/
public class SubjectCreatingPolicyInterceptor extends
AbstractPhaseInterceptor<Message>
{
- protected SubjectCreator helper = new SubjectCreator();
+ protected final SubjectCreator helper = new SubjectCreator();
public SubjectCreatingPolicyInterceptor()
{
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/callback/UsernameTokenCallbackHandler.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/callback/UsernameTokenCallbackHandler.java 2014-05-26
15:50:31 UTC (rev 18695)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/callback/UsernameTokenCallbackHandler.java 2014-05-26
15:53:21 UTC (rev 18696)
@@ -39,11 +39,11 @@
*/
public class UsernameTokenCallbackHandler implements CallbackHandler
{
- private String nonce;
+ private final String nonce;
- private String created;
+ private final String created;
- private boolean decodeNonce;
+ private final boolean decodeNonce;
public UsernameTokenCallbackHandler(String nonce, String created, boolean
decodeNonce)
{