[jboss-cvs] Picketlink SVN: r240 - in console/trunk/picketlink-console: src/main/java/org/picketlink/console/client and 7 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 5 17:14:48 EDT 2010
Author: anil.saldhana at jboss.com
Date: 2010-05-05 17:14:48 -0400 (Wed, 05 May 2010)
New Revision: 240
Added:
console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/protocol/TokenProviderConfigurationParts.java
Removed:
console/trunk/picketlink-console/war/PicketLinkService/
Modified:
console/trunk/picketlink-console/.classpath
console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/PicketLinkConsoleClient.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/model/TokenProvider.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/STSWidget.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderGridWidget.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderWidget.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/STSConfigurationService.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/TokenProviderService.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/STSConfigurationHandler.java
console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/TokenProviderConfigurationHandler.java
console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/STSConfigFilePersistUnitTestCase.java
console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/TokenProviderFilePersistUnitTestCase.java
Log:
updated checkpoint
Modified: console/trunk/picketlink-console/.classpath
===================================================================
--- console/trunk/picketlink-console/.classpath 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/.classpath 2010-05-05 21:14:48 UTC (rev 240)
@@ -4,9 +4,11 @@
<classpathentry kind="src" path="src/main/java" including="**/*.java"/>
<classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
<classpathentry kind="output" path="war/WEB-INF/classes"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jboss/errai/errai-bus/1.1-SNAPSHOT/errai-bus-1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/errai/errai-bus/1.1-SNAPSHOT/errai-bus-1.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jboss/errai/errai-common/1.1-SNAPSHOT/errai-common-1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/errai/errai-common/1.1-SNAPSHOT/errai-common-1.1-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/errai/errai-tools/1.1-SNAPSHOT/errai-tools-1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/errai/errai-tools/1.1-SNAPSHOT/errai-tools-1.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jboss/errai/errai-widgets/1.1-SNAPSHOT/errai-widgets-1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/errai/errai-widgets/1.1-SNAPSHOT/errai-widgets-1.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jboss/errai/errai-workspaces/1.1-SNAPSHOT/errai-workspaces-1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/errai/errai-workspaces/1.1-SNAPSHOT/errai-workspaces-1.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/code/guice/guice/2.0/guice-2.0.jar"/>
@@ -18,10 +20,11 @@
<classpathentry kind="var" path="M2_REPO/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-user/2.0.0/gwt-user-2.0.0.jar"/>
<classpathentry kind="var" path="M2_REPO/com/googlecode/gwtmosaic/gwtx/0.4.0-rc4/gwtx-0.4.0-rc4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar"/>
<classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/logging/jboss-logging-spi/2.1.1.GA/jboss-logging-spi-2.1.1.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/logging/jboss-logging-spi/2.1.1.GA/jboss-logging-spi-2.1.1.GA.jar" sourcepath="M2_REPO/org/jboss/logging/jboss-logging-spi/2.1.1.GA/jboss-logging-spi-2.1.1.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.4/jbossxacml-2.0.4.jar" sourcepath="M2_REPO/org/jboss/security/jbossxacml/2.0.4/jbossxacml-2.0.4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar" sourcepath="M2_REPO/junit/junit/4.4/junit-4.4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
@@ -33,8 +36,8 @@
<classpathentry kind="var" path="M2_REPO/org/picketlink/picketlink-fed-core/1.0.3.CR3-SNAPSHOT/picketlink-fed-core-1.0.3.CR3-SNAPSHOT.jar" sourcepath="M2_REPO/org/picketlink/picketlink-fed-core/1.0.3.CR3-SNAPSHOT/picketlink-fed-core-1.0.3.CR3-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/picketlink/picketlink-fed-model/1.0.3.CR3-SNAPSHOT/picketlink-fed-model-1.0.3.CR3-SNAPSHOT.jar" sourcepath="M2_REPO/org/picketlink/picketlink-fed-model/1.0.3.CR3-SNAPSHOT/picketlink-fed-model-1.0.3.CR3-SNAPSHOT-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/picketlink/picketlink-xmlsec-model/1.0.3.CR3-SNAPSHOT/picketlink-xmlsec-model-1.0.3.CR3-SNAPSHOT.jar" sourcepath="M2_REPO/org/picketlink/picketlink-xmlsec-model/1.0.3.CR3-SNAPSHOT/picketlink-xmlsec-model-1.0.3.CR3-SNAPSHOT-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.5.10/slf4j-api-1.5.10.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.5.10/slf4j-api-1.5.10.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.5.10/slf4j-api-1.5.10-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar" sourcepath="M2_REPO/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.2/xmlsec-1.4.2.jar" sourcepath="M2_REPO/org/apache/xmlsec/1.4.2/xmlsec-1.4.2-sources.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
</classpath>
\ No newline at end of file
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/PicketLinkConsoleClient.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/PicketLinkConsoleClient.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/PicketLinkConsoleClient.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -72,7 +72,7 @@
while( iter.hasNext() )
{
TokenProvider tp = (TokenProvider) iter.next();
- if( providerClass.equals( tp.getProviderClassName() ))
+ if( providerClass.equals( tp.getProvider() ))
{
removeThisTokenProvider = tp;
break;
@@ -94,7 +94,7 @@
while( iter.hasNext() )
{
TokenProvider tp = iter.next();
- if( providerClass.equals( tp.getProviderClassName() ))
+ if( providerClass.equals( tp.getProvider() ))
{
return tp;
}
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/model/TokenProvider.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/model/TokenProvider.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/model/TokenProvider.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -35,18 +35,18 @@
{
private static final long serialVersionUID = 1L;
- private String providerClassName = null;
+ private String provider = null;
private String tokenType = null;
- public String getProviderClassName()
+ public String getProvider()
{
- return providerClassName;
+ return provider;
}
- public void setProviderClassName(String providerClass)
+ public void setProvider(String providerClass)
{
- this.providerClassName = providerClass;
+ this.provider = providerClass;
}
public String getTokenType()
@@ -70,12 +70,12 @@
if (getClass() != obj.getClass())
return false;
TokenProvider other = (TokenProvider) obj;
- if (providerClassName == null)
+ if (provider == null)
{
- if (other.providerClassName != null)
+ if (other.provider != null)
return false;
}
- else if (!providerClassName.equals(other.providerClassName))
+ else if (!provider.equals(other.provider))
return false;
if (tokenType == null)
{
@@ -92,7 +92,7 @@
{
final int prime = 31;
int result = 1;
- result = prime * result + ((providerClassName == null) ? 0 : providerClassName.hashCode());
+ result = prime * result + ((provider == null) ? 0 : provider.hashCode());
result = prime * result + ((tokenType == null) ? 0 : tokenType.hashCode());
return result;
}
@@ -101,7 +101,7 @@
public String toString()
{
StringBuilder builder = new StringBuilder( "TokenProvider:");
- builder.append( "ProviderClass=").append( providerClassName );
+ builder.append( "ProviderClassname=").append( provider );
builder.append( ":TokenType=").append( tokenType );
builder.append( "]" );
return builder.toString();
Added: console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/protocol/TokenProviderConfigurationParts.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/protocol/TokenProviderConfigurationParts.java (rev 0)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/protocol/TokenProviderConfigurationParts.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.console.client.protocol;
+
+/**
+ * @author Anil.Saldhana at redhat.com
+ * @since Apr 29, 2010
+ */
+public enum TokenProviderConfigurationParts
+{
+ TokenProviderObj, TokenProviderList, TokenProviderResult, ProviderClass;
+}
\ No newline at end of file
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/STSWidget.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/STSWidget.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/STSWidget.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -126,7 +126,7 @@
while( iter.hasNext() )
{
TokenProvider tokenProvider = iter.next();
- tokenProviderListBox.addItem( tokenProvider.getProviderClassName() );
+ tokenProviderListBox.addItem( tokenProvider.getProvider() );
}
widgets.add( tokenProviderListBox );
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderGridWidget.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderGridWidget.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderGridWidget.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -212,7 +212,7 @@
while(tokenProviders.hasNext() )
{
TokenProvider tokenProvider = tokenProviders.next();
- wsGrid.setCell(index, 0, new WSCellSimpleTextCell( tokenProvider.getProviderClassName() , true));
+ wsGrid.setCell(index, 0, new WSCellSimpleTextCell( tokenProvider.getProvider() , true));
wsGrid.setCell(index, 1, tokenProvider.getTokenType());
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderWidget.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderWidget.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/client/widgets/TokenProviderWidget.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -162,7 +162,7 @@
private TokenProvider constructObject( String providerClass, String tokenType )
{
TokenProvider tokenProvider = new TokenProvider();
- tokenProvider.setProviderClassName( providerClass );
+ tokenProvider.setProvider( providerClass );
tokenProvider.setTokenType(tokenType);
return tokenProvider;
}
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/STSConfigurationService.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/STSConfigurationService.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/STSConfigurationService.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -24,7 +24,7 @@
import org.jboss.errai.bus.client.api.Message;
import org.jboss.errai.bus.client.api.MessageCallback;
import org.jboss.errai.bus.client.api.base.MessageBuilder;
-import org.jboss.errai.bus.client.framework.RequestDispatcher;
+import org.jboss.errai.bus.client.framework.MessageBus;
import org.jboss.errai.bus.server.annotations.Service;
import org.jboss.errai.bus.server.annotations.security.RequireRoles;
import org.jboss.logging.Logger;
@@ -45,12 +45,12 @@
{
private static Logger log = Logger.getLogger( STSConfigurationService.class.getCanonicalName() );
- private RequestDispatcher requestDispatcher;
+ private MessageBus bus;
@Inject
- public STSConfigurationService( RequestDispatcher requestDis )
+ public STSConfigurationService( MessageBus bus )
{
- this.requestDispatcher = requestDis;
+ this.bus = bus;
}
@@ -107,7 +107,7 @@
.toSubject("STSConfigUpdate")
.signalling()
.with(STSConfigurationParts.STSConfigResult, resultStr )
- .noErrorHandling().sendNowWith( requestDispatcher );
+ .noErrorHandling().sendNowWith( bus );
}
private void trace( STSConfig stsConfig )
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/TokenProviderService.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/TokenProviderService.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/TokenProviderService.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -108,7 +108,7 @@
while( iter.hasNext() )
{
TokenProvider tp = iter.next();
- if( tp.getProviderClassName().equals( providerClass ))
+ if( tp.getProvider().equals( providerClass ))
{
removeThisTokenProvider = tp;
break;
@@ -179,7 +179,7 @@
private void trace( TokenProvider tokenProvider )
{
StringBuilder builder = new StringBuilder();
- builder.append("ProviderClass:" + tokenProvider.getProviderClassName() );
+ builder.append("ProviderClass:" + tokenProvider.getProvider() );
builder.append(": Token Type=" + tokenProvider.getTokenType() );
System.out.println( builder.toString() );
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/STSConfigurationHandler.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/STSConfigurationHandler.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/STSConfigurationHandler.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -144,7 +144,7 @@
{
TokenProvider tokenProvider = iterator.next();
TokenProviderType tokenProviderType = objectFactory.createTokenProviderType();
- tokenProviderType.setProviderClass( tokenProvider.getProviderClassName() );
+ tokenProviderType.setProviderClass( tokenProvider.getProvider() );
tokenProviderType.setTokenType( tokenProvider.getTokenType() );
tokenProvidersType.getTokenProvider().add( tokenProviderType );
Modified: console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/TokenProviderConfigurationHandler.java
===================================================================
--- console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/TokenProviderConfigurationHandler.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/main/java/org/picketlink/console/server/handlers/TokenProviderConfigurationHandler.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -181,7 +181,7 @@
private TokenProvider map( TokenProviderType tokenProviderType )
{
TokenProvider tokenProvider = new TokenProvider();
- tokenProvider.setProviderClassName( tokenProviderType.getProviderClass() );
+ tokenProvider.setProvider( tokenProviderType.getProviderClass() );
tokenProvider.setTokenType( tokenProviderType.getTokenType() );
return tokenProvider;
}
@@ -190,7 +190,7 @@
{
ObjectFactory objectFactory = new ObjectFactory();
TokenProviderType tokenProviderType = objectFactory.createTokenProviderType();
- tokenProviderType.setProviderClass( tokenProvider.getProviderClassName() );
+ tokenProviderType.setProviderClass( tokenProvider.getProvider() );
tokenProviderType.setTokenType( tokenProvider.getTokenType() );
return tokenProviderType;
}
@@ -237,7 +237,7 @@
stsType.setTokenProviders( tokenProvidersType );
TokenProviderType tokenProviderType = objectFactory.createTokenProviderType();
- tokenProviderType.setProviderClass( tokenProvider.getProviderClassName() );
+ tokenProviderType.setProviderClass( tokenProvider.getProvider() );
tokenProviderType.setTokenType( tokenProvider.getTokenType() );
tokenProvidersType.getTokenProvider().add( tokenProviderType );
Modified: console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/STSConfigFilePersistUnitTestCase.java
===================================================================
--- console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/STSConfigFilePersistUnitTestCase.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/STSConfigFilePersistUnitTestCase.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -76,7 +76,7 @@
Set<TokenProvider> tokenProviders = new HashSet<TokenProvider>();
TokenProvider saml20TokenProvider = new TokenProvider();
- saml20TokenProvider.setProviderClassName( SAML20TokenProvider.class.getCanonicalName() );
+ saml20TokenProvider.setProvider( SAML20TokenProvider.class.getCanonicalName() );
saml20TokenProvider.setTokenType( "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0" );
tokenProviders.add( saml20TokenProvider );
Modified: console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/TokenProviderFilePersistUnitTestCase.java
===================================================================
--- console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/TokenProviderFilePersistUnitTestCase.java 2010-05-05 20:27:38 UTC (rev 239)
+++ console/trunk/picketlink-console/src/test/java/org/picketlink/test/console/sts/TokenProviderFilePersistUnitTestCase.java 2010-05-05 21:14:48 UTC (rev 240)
@@ -64,7 +64,7 @@
public void testTokenProviderPersistence() throws Exception
{
TokenProvider tokenProvider = new TokenProvider();
- tokenProvider.setProviderClassName( SAML20TokenProvider.class.getCanonicalName() );
+ tokenProvider.setProvider( SAML20TokenProvider.class.getCanonicalName() );
tokenProvider.setTokenType( "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0" );
TokenProviderConfigurationHandler handler = new TokenProviderConfigurationHandler();
handler.persist( tokenProvider );
@@ -73,6 +73,6 @@
Set<TokenProvider> tokenProvidersSet = handler.getTokenProviders();
assertEquals( 1, tokenProvidersSet.size() );
TokenProvider samlTokenProvider = tokenProvidersSet.iterator().next();
- assertEquals( SAML20TokenProvider.class.getCanonicalName(), samlTokenProvider.getProviderClassName());
+ assertEquals( SAML20TokenProvider.class.getCanonicalName(), samlTokenProvider.getProvider());
}
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list