Author: alessio.soldano(a)jboss.com
Date: 2010-10-15 12:37:00 -0400 (Fri, 15 Oct 2010)
New Revision: 481
Removed:
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerClient.java
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerServer.java
Modified:
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/Constants.java
Log:
No need for separate server / client handlers as they do the same thing
Modified:
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/Constants.java
===================================================================
---
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/Constants.java 2010-10-15
16:09:24 UTC (rev 480)
+++
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/Constants.java 2010-10-15
16:37:00 UTC (rev 481)
@@ -32,10 +32,6 @@
{
public static final String WSS_SOAP_NS =
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0";
- public static final String JBOSS_WSSE_NS =
"http://www.jboss.com/jbossws/ws-security";
-
- public static final String JBOSS_WSSE_PREFIX = "jboss-wsse";
-
public static final String WSSE_PREFIX = "wsse";
public static final String WSSE_NS =
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
Deleted:
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerClient.java
===================================================================
---
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerClient.java 2010-10-15
16:09:24 UTC (rev 480)
+++
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerClient.java 2010-10-15
16:37:00 UTC (rev 481)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.picketlink.trust.jbossws.handler;
-
-import javax.xml.ws.handler.MessageContext;
-
-import org.picketlink.trust.jbossws.SAML2Constants;
-import org.w3c.dom.Element;
-
-/**
- * A client side WS handler.
- * It expects a {@link Element} assertion as the value of the {@link
SAML2Constants#SAML2_ASSERTION_PROPERTY} property.
- * This assertion is then included in the SOAP payload.
- *
- * @author <a href="mmoyses(a)redhat.com">Marcus Moyses</a>
- * @version $Revision: 1 $
- */
-public class SAML2HandlerClient extends SAML2Handler
-{
-
- protected boolean handleInbound(MessageContext msgContext)
- {
- return super.handleInbound(msgContext);
- }
-
- protected boolean handleOutbound(MessageContext msgContext)
- {
- return super.handleOutbound(msgContext);
- }
-
-}
Deleted:
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerServer.java
===================================================================
---
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerServer.java 2010-10-15
16:09:24 UTC (rev 480)
+++
trust/trunk/jbossws-native/src/main/java/org/picketlink/trust/jbossws/handler/SAML2HandlerServer.java 2010-10-15
16:37:00 UTC (rev 481)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.picketlink.trust.jbossws.handler;
-
-import javax.xml.ws.handler.MessageContext;
-
-/**
- * A server side WS handler.
- * Retrieves the SAML assertion from the SOAP payload and lets invocation go to JAAS for
validation.
- *
- * @author <a href="mmoyses(a)redhat.com">Marcus Moyses</a>
- * @version $Revision: 1 $
- */
-public class SAML2HandlerServer extends SAML2Handler
-{
-
- protected boolean handleInbound(MessageContext msgContext)
- {
- return super.handleInbound(msgContext);
- }
-
- protected boolean handleOutbound(MessageContext msgContext)
- {
- return super.handleOutbound(msgContext);
- }
-
-}