From jbossws-commits at lists.jboss.org Sun Feb 23 22:34:57 2014 Content-Type: multipart/mixed; boundary="===============3618641853989320825==" MIME-Version: 1.0 From: jbossws-commits at lists.jboss.org To: jbossws-commits at lists.jboss.org Subject: [jbossws-commits] JBossWS SVN: r18409 - in spi/trunk/src/main/java/org/jboss/wsf/spi: security and 1 other directory. Date: Sun, 23 Feb 2014 22:34:57 -0500 Message-ID: <201402240334.s1O3Yvn6020668@svn01.web.mwc.hst.phx2.redhat.com> --===============3618641853989320825== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: jim.ma Date: 2014-02-23 22:34:56 -0500 (Sun, 23 Feb 2014) New Revision: 18409 Added: spi/trunk/src/main/java/org/jboss/wsf/spi/security/JASPIAuthenticationPr= ovider.java Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java Log: [JBWS-3767]:Add apis for jaspi soap profile Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java 2014-0= 2-22 01:49:07 UTC (rev 18408) +++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java 2014-0= 2-24 03:34:56 UTC (rev 18409) @@ -51,6 +51,11 @@ */ void addSecurityDomain(String name, Map authenticationO= ptions) throws Exception; = + = + public void addJaspiSecurityDomain(String name, String loginModuleStac= kName, Map loginModuleOptions, = + String authModuleName, Map authModuleOptions) th= rows Exception; + = + = /** * Removes a security domain * = Added: spi/trunk/src/main/java/org/jboss/wsf/spi/security/JASPIAuthenticati= onProvider.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- spi/trunk/src/main/java/org/jboss/wsf/spi/security/JASPIAuthenticationP= rovider.java (rev 0) +++ spi/trunk/src/main/java/org/jboss/wsf/spi/security/JASPIAuthenticationP= rovider.java 2014-02-24 03:34:56 UTC (rev 18409) @@ -0,0 +1,40 @@ +/* + * JBoss, Home of Professional Open Source. + * 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. + * + * 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.spi.security; + +import java.util.Map; + +import org.jboss.wsf.spi.deployment.Deployment; +import org.jboss.wsf.spi.deployment.Endpoint; +import org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData; + +/** = + * Interface to enable jaspi authentication on server/client side + * @author Jim Ma + */ +public interface JASPIAuthenticationProvider +{ + boolean enableClientAuthentication(Object target, Map p= roperties); + boolean enableServerAuthentication(Deployment dep, JBossWebservicesMeta= Data wsmd); + public boolean enableServerAuthentication(Object target, Endpoint endpo= int); + +} Property changes on: spi/trunk/src/main/java/org/jboss/wsf/spi/security/JAS= PIAuthenticationProvider.java ___________________________________________________________________ Added: svn:keywords + Rev Date Added: svn:eol-style + native --===============3618641853989320825==--