Author: anil.saldhana(a)jboss.com
Date: 2011-02-28 16:07:55 -0500 (Mon, 28 Feb 2011)
New Revision: 784
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/AuthPropertyType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorsType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncAlgoType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncryptionType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/IDPType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyProviderType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyValueType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/MetadataProviderType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ProviderType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/SPType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/STSType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProviderType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProvidersType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProviderType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProvidersType.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TrustType.java
Log:
add license header
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/AuthPropertyType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/AuthPropertyType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/AuthPropertyType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
/**
@@ -16,7 +37,6 @@
*
*
*/
-public class AuthPropertyType
- extends KeyValueType
-{
+public class AuthPropertyType extends KeyValueType
+{
}
\ No newline at end of file
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -2,3 +23,3 @@
import java.util.Collections;
-import java.util.List;
+import java.util.List;
@@ -24,81 +45,89 @@
* </pre>
*
*
- */
-public class ClaimsProcessorType {
+ */
+public class ClaimsProcessorType
+{
- protected List<KeyValueType> property = new ArrayList<KeyValueType>();
- protected String processorClass;
- protected String dialect;
+ protected List<KeyValueType> property = new ArrayList<KeyValueType>();
- public void add( KeyValueType kv )
- {
- this.property.add(kv);
- }
-
- public void remove( KeyValueType kv )
- {
- this.property.remove(kv);
- }
-
- /**
- * Gets the value of the property property.
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link KeyValueType }
- *
- *
- */
- public List<KeyValueType> getProperty() {
- return Collections.unmodifiableList( this.property );
- }
+ protected String processorClass;
- /**
- * Gets the value of the processorClass property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getProcessorClass() {
- return processorClass;
- }
+ protected String dialect;
- /**
- * Sets the value of the processorClass property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setProcessorClass(String value) {
- this.processorClass = value;
- }
+ public void add(KeyValueType kv)
+ {
+ this.property.add(kv);
+ }
- /**
- * Gets the value of the dialect property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDialect() {
- return dialect;
- }
+ public void remove(KeyValueType kv)
+ {
+ this.property.remove(kv);
+ }
- /**
- * Sets the value of the dialect property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDialect(String value) {
- this.dialect = value;
- }
+ /**
+ * Gets the value of the property property.
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link KeyValueType }
+ *
+ *
+ */
+ public List<KeyValueType> getProperty()
+ {
+ return Collections.unmodifiableList(this.property);
+ }
+ /**
+ * Gets the value of the processorClass property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProcessorClass()
+ {
+ return processorClass;
+ }
+
+ /**
+ * Sets the value of the processorClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProcessorClass(String value)
+ {
+ this.processorClass = value;
+ }
+
+ /**
+ * Gets the value of the dialect property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDialect()
+ {
+ return dialect;
+ }
+
+ /**
+ * Sets the value of the dialect property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDialect(String value)
+ {
+ this.dialect = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorsType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorsType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ClaimsProcessorsType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -26,31 +47,33 @@
* </pre>
*
*
- */
-public class ClaimsProcessorsType {
+ */
+public class ClaimsProcessorsType
+{
- protected List<ClaimsProcessorType> claimsProcessor = new
ArrayList<ClaimsProcessorType>();
+ protected List<ClaimsProcessorType> claimsProcessor = new
ArrayList<ClaimsProcessorType>();
- public void add( ClaimsProcessorType claim )
- {
- this.claimsProcessor.add( claim);
- }
-
- public void remove( ClaimsProcessorType claim )
- {
- this.claimsProcessor.remove( claim);
- }
-
- /**
- * Gets the value of the claimsProcessor property.
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link ClaimsProcessorType }
- *
- *
- */
- public List<ClaimsProcessorType> getClaimsProcessor() {
- return Collections.unmodifiableList( this.claimsProcessor );
- }
+ public void add(ClaimsProcessorType claim)
+ {
+ this.claimsProcessor.add(claim);
+ }
+ public void remove(ClaimsProcessorType claim)
+ {
+ this.claimsProcessor.remove(claim);
+ }
+
+ /**
+ * Gets the value of the claimsProcessor property.
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ClaimsProcessorType }
+ *
+ *
+ */
+ public List<ClaimsProcessorType> getClaimsProcessor()
+ {
+ return Collections.unmodifiableList(this.claimsProcessor);
+ }
+
}
\ No newline at end of file
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncAlgoType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncAlgoType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncAlgoType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
/**
@@ -15,29 +36,32 @@
* </simpleType>
* </pre>
*
- */
+ */
public enum EncAlgoType {
- AES("AES"),
- DES("DES"),
- DE_SEDE("DESede");
- private final String value;
+ AES("AES"), DES("DES"), DE_SEDE("DESede");
+ private final String value;
- EncAlgoType(String v) {
- value = v;
- }
+ EncAlgoType(String v)
+ {
+ value = v;
+ }
- public String value() {
- return value;
- }
+ public String value()
+ {
+ return value;
+ }
- public static EncAlgoType fromValue(String v) {
- for (EncAlgoType c: EncAlgoType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ public static EncAlgoType fromValue(String v)
+ {
+ for (EncAlgoType c : EncAlgoType.values())
+ {
+ if (c.value.equals(v))
+ {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncryptionType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncryptionType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/EncryptionType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,5 +1,25 @@
+/*
+ * 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.identity.federation.core.config;
-
/**
* <p>Java class for EncryptionType complex type.
@@ -20,50 +40,56 @@
* </pre>
*
*
- */
-public class EncryptionType {
-
- protected EncAlgoType encAlgo;
- protected int keySize;
+ */
+public class EncryptionType
+{
- /**
- * Gets the value of the encAlgo property.
- *
- * @return
- * possible object is
- * {@link EncAlgoType }
- *
- */
- public EncAlgoType getEncAlgo() {
- return encAlgo;
- }
+ protected EncAlgoType encAlgo;
- /**
- * Sets the value of the encAlgo property.
- *
- * @param value
- * allowed object is
- * {@link EncAlgoType }
- *
- */
- public void setEncAlgo(EncAlgoType value) {
- this.encAlgo = value;
- }
+ protected int keySize;
- /**
- * Gets the value of the keySize property.
- *
- */
- public int getKeySize() {
- return keySize;
- }
+ /**
+ * Gets the value of the encAlgo property.
+ *
+ * @return
+ * possible object is
+ * {@link EncAlgoType }
+ *
+ */
+ public EncAlgoType getEncAlgo()
+ {
+ return encAlgo;
+ }
- /**
- * Sets the value of the keySize property.
- *
- */
- public void setKeySize(int value) {
- this.keySize = value;
- }
+ /**
+ * Sets the value of the encAlgo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EncAlgoType }
+ *
+ */
+ public void setEncAlgo(EncAlgoType value)
+ {
+ this.encAlgo = value;
+ }
+ /**
+ * Gets the value of the keySize property.
+ *
+ */
+ public int getKeySize()
+ {
+ return keySize;
+ }
+
+ /**
+ * Sets the value of the keySize property.
+ *
+ */
+ public void setKeySize(int value)
+ {
+ this.keySize = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/IDPType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/IDPType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/IDPType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,5 +1,25 @@
+/*
+ * 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.identity.federation.core.config;
-
/**
*
@@ -28,151 +48,176 @@
* </pre>
*
*
- */
-public class IDPType
- extends ProviderType
+ */
+public class IDPType extends ProviderType
{
- protected EncryptionType encryption;
- protected Long assertionValidity;
- protected String roleGenerator;
- protected String attributeManager;
- protected Boolean encrypt;
+ protected EncryptionType encryption;
- /**
- * Gets the value of the encryption property.
- *
- * @return
- * possible object is
- * {@link EncryptionType }
- *
- */
- public EncryptionType getEncryption() {
- return encryption;
- }
+ protected Long assertionValidity;
- /**
- * Sets the value of the encryption property.
- *
- * @param value
- * allowed object is
- * {@link EncryptionType }
- *
- */
- public void setEncryption(EncryptionType value) {
- this.encryption = value;
- }
+ protected String roleGenerator;
- /**
- * Gets the value of the assertionValidity property.
- *
- * @return
- * possible object is
- * {@link Long }
- *
- */
- public long getAssertionValidity() {
- if (assertionValidity == null) {
- return 300000L;
- } else {
- return assertionValidity;
- }
- }
+ protected String attributeManager;
- /**
- * Sets the value of the assertionValidity property.
- *
- * @param value
- * allowed object is
- * {@link Long }
- *
- */
- public void setAssertionValidity(Long value) {
- this.assertionValidity = value;
- }
+ protected Boolean encrypt;
- /**
- * Gets the value of the roleGenerator property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getRoleGenerator() {
- if (roleGenerator == null) {
- return
"org.picketlink.identity.federation.bindings.tomcat.TomcatRoleGenerator";
- } else {
- return roleGenerator;
- }
- }
+ /**
+ * Gets the value of the encryption property.
+ *
+ * @return
+ * possible object is
+ * {@link EncryptionType }
+ *
+ */
+ public EncryptionType getEncryption()
+ {
+ return encryption;
+ }
- /**
- * Sets the value of the roleGenerator property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setRoleGenerator(String value) {
- this.roleGenerator = value;
- }
+ /**
+ * Sets the value of the encryption property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EncryptionType }
+ *
+ */
+ public void setEncryption(EncryptionType value)
+ {
+ this.encryption = value;
+ }
- /**
- * Gets the value of the attributeManager property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAttributeManager() {
- if (attributeManager == null) {
- return
"org.picketlink.identity.federation.bindings.tomcat.TomcatAttributeManager";
- } else {
- return attributeManager;
- }
- }
+ /**
+ * Gets the value of the assertionValidity property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public long getAssertionValidity()
+ {
+ if (assertionValidity == null)
+ {
+ return 300000L;
+ }
+ else
+ {
+ return assertionValidity;
+ }
+ }
- /**
- * Sets the value of the attributeManager property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAttributeManager(String value) {
- this.attributeManager = value;
- }
+ /**
+ * Sets the value of the assertionValidity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setAssertionValidity(Long value)
+ {
+ this.assertionValidity = value;
+ }
- /**
- * Gets the value of the encrypt property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isEncrypt() {
- if (encrypt == null) {
- return false;
- } else {
- return encrypt;
- }
- }
+ /**
+ * Gets the value of the roleGenerator property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRoleGenerator()
+ {
+ if (roleGenerator == null)
+ {
+ return
"org.picketlink.identity.federation.bindings.tomcat.TomcatRoleGenerator";
+ }
+ else
+ {
+ return roleGenerator;
+ }
+ }
- /**
- * Sets the value of the encrypt property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setEncrypt(Boolean value) {
- this.encrypt = value;
- }
+ /**
+ * Sets the value of the roleGenerator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRoleGenerator(String value)
+ {
+ this.roleGenerator = value;
+ }
+ /**
+ * Gets the value of the attributeManager property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAttributeManager()
+ {
+ if (attributeManager == null)
+ {
+ return
"org.picketlink.identity.federation.bindings.tomcat.TomcatAttributeManager";
+ }
+ else
+ {
+ return attributeManager;
+ }
+ }
+
+ /**
+ * Sets the value of the attributeManager property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttributeManager(String value)
+ {
+ this.attributeManager = value;
+ }
+
+ /**
+ * Gets the value of the encrypt property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isEncrypt()
+ {
+ if (encrypt == null)
+ {
+ return false;
+ }
+ else
+ {
+ return encrypt;
+ }
+ }
+
+ /**
+ * Sets the value of the encrypt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEncrypt(Boolean value)
+ {
+ this.encrypt = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyProviderType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyProviderType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyProviderType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -3,7 +24,5 @@
import java.util.Collections;
import java.util.List;
-
-
/**
*
@@ -31,102 +50,114 @@
* </pre>
*
*
- */
-public class KeyProviderType {
-
- protected List<AuthPropertyType> auth = new
ArrayList<AuthPropertyType>();
- protected List<KeyValueType> validatingAlias = new
ArrayList<KeyValueType>();
- protected String signingAlias;
- protected String className;
+ */
+public class KeyProviderType
+{
- public void add( AuthPropertyType kv)
- {
- this.auth.add(kv);
- }
- public void remove( AuthPropertyType kv)
- {
- this.auth.remove(kv);
- }
-
- /**
- * Gets the value of the auth property.
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link AuthPropertyType }
- *
- *
- */
- public List<AuthPropertyType> getAuth() {
- return Collections.unmodifiableList( this.auth );
- }
-
- public void add(KeyValueType kv)
- {
- this.validatingAlias.add(kv);
- }
- public void remove(KeyValueType kv)
- {
- this.validatingAlias.remove(kv);
- }
+ protected List<AuthPropertyType> auth = new
ArrayList<AuthPropertyType>();
- /**
- * Gets the value of the validatingAlias property.
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link KeyValueType }
- *
- *
- */
- public List<KeyValueType> getValidatingAlias() {
- return Collections.unmodifiableList( this.validatingAlias );
- }
+ protected List<KeyValueType> validatingAlias = new
ArrayList<KeyValueType>();
- /**
- * Gets the value of the signingAlias property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getSigningAlias() {
- return signingAlias;
- }
+ protected String signingAlias;
- /**
- * Sets the value of the signingAlias property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setSigningAlias(String value) {
- this.signingAlias = value;
- }
+ protected String className;
- /**
- * Gets the value of the className property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getClassName() {
- return className;
- }
+ public void add(AuthPropertyType kv)
+ {
+ this.auth.add(kv);
+ }
- /**
- * Sets the value of the className property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setClassName(String value) {
- this.className = value;
- }
+ public void remove(AuthPropertyType kv)
+ {
+ this.auth.remove(kv);
+ }
+ /**
+ * Gets the value of the auth property.
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AuthPropertyType }
+ *
+ *
+ */
+ public List<AuthPropertyType> getAuth()
+ {
+ return Collections.unmodifiableList(this.auth);
+ }
+
+ public void add(KeyValueType kv)
+ {
+ this.validatingAlias.add(kv);
+ }
+
+ public void remove(KeyValueType kv)
+ {
+ this.validatingAlias.remove(kv);
+ }
+
+ /**
+ * Gets the value of the validatingAlias property.
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link KeyValueType }
+ *
+ *
+ */
+ public List<KeyValueType> getValidatingAlias()
+ {
+ return Collections.unmodifiableList(this.validatingAlias);
+ }
+
+ /**
+ * Gets the value of the signingAlias property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSigningAlias()
+ {
+ return signingAlias;
+ }
+
+ /**
+ * Sets the value of the signingAlias property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSigningAlias(String value)
+ {
+ this.signingAlias = value;
+ }
+
+ /**
+ * Gets the value of the className property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getClassName()
+ {
+ return className;
+ }
+
+ /**
+ * Sets the value of the className property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setClassName(String value)
+ {
+ this.className = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyValueType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyValueType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/KeyValueType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
/**
@@ -17,58 +38,64 @@
* </pre>
*
*
- */
-public class KeyValueType {
-
- protected String key;
- protected String value;
+ */
+public class KeyValueType
+{
- /**
- * Gets the value of the key property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getKey() {
- return key;
- }
+ protected String key;
- /**
- * Sets the value of the key property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setKey(String value) {
- this.key = value;
- }
+ protected String value;
- /**
- * Gets the value of the value property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
+ /**
+ * Gets the value of the key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey()
+ {
+ return key;
+ }
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value)
+ {
+ this.key = value;
+ }
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/MetadataProviderType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/MetadataProviderType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/MetadataProviderType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -4,7 +25,6 @@
import java.util.Collections;
import java.util.List;
-
/**
* <p>Java class for MetadataProviderType complex type.
*
@@ -24,56 +44,62 @@
* </pre>
*
*
- */
-public class MetadataProviderType {
-
- protected List<KeyValueType> option = new ArrayList<KeyValueType>();
- protected String className;
+ */
+public class MetadataProviderType
+{
- public void add( KeyValueType kv )
- {
- this.option.add(kv);
- }
- public void remove( KeyValueType kv )
- {
- this.option.remove(kv);
- }
-
- /**
- * Gets the value of the option property.
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link KeyValueType }
- *
- *
- */
- public List<KeyValueType> getOption() {
- return Collections.unmodifiableList( this.option );
- }
+ protected List<KeyValueType> option = new ArrayList<KeyValueType>();
- /**
- * Gets the value of the className property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getClassName() {
- return className;
- }
+ protected String className;
- /**
- * Sets the value of the className property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setClassName(String value) {
- this.className = value;
- }
+ public void add(KeyValueType kv)
+ {
+ this.option.add(kv);
+ }
+ public void remove(KeyValueType kv)
+ {
+ this.option.remove(kv);
+ }
+
+ /**
+ * Gets the value of the option property.
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link KeyValueType }
+ *
+ *
+ */
+ public List<KeyValueType> getOption()
+ {
+ return Collections.unmodifiableList(this.option);
+ }
+
+ /**
+ * Gets the value of the className property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getClassName()
+ {
+ return className;
+ }
+
+ /**
+ * Sets the value of the className property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setClassName(String value)
+ {
+ this.className = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ProviderType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ProviderType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ProviderType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import javax.xml.crypto.dsig.CanonicalizationMethod;
@@ -2,3 +23,2 @@
-
/**
@@ -37,154 +57,172 @@
* </pre>
*
*
- */
-public class ProviderType {
+ */
+public class ProviderType
+{
- protected String identityURL;
- protected TrustType trust;
- protected KeyProviderType keyProvider;
- protected MetadataProviderType metaDataProvider;
- protected String serverEnvironment;
- protected String canonicalizationMethod;
+ protected String identityURL;
- /**
- * Gets the value of the identityURL property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getIdentityURL() {
- return identityURL;
- }
+ protected TrustType trust;
- /**
- * Sets the value of the identityURL property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setIdentityURL(String value) {
- this.identityURL = value;
- }
+ protected KeyProviderType keyProvider;
- /**
- * Gets the value of the trust property.
- *
- * @return
- * possible object is
- * {@link TrustType }
- *
- */
- public TrustType getTrust() {
- return trust;
- }
+ protected MetadataProviderType metaDataProvider;
- /**
- * Sets the value of the trust property.
- *
- * @param value
- * allowed object is
- * {@link TrustType }
- *
- */
- public void setTrust(TrustType value) {
- this.trust = value;
- }
+ protected String serverEnvironment;
- /**
- * Gets the value of the keyProvider property.
- *
- * @return
- * possible object is
- * {@link KeyProviderType }
- *
- */
- public KeyProviderType getKeyProvider() {
- return keyProvider;
- }
+ protected String canonicalizationMethod;
- /**
- * Sets the value of the keyProvider property.
- *
- * @param value
- * allowed object is
- * {@link KeyProviderType }
- *
- */
- public void setKeyProvider(KeyProviderType value) {
- this.keyProvider = value;
- }
+ /**
+ * Gets the value of the identityURL property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIdentityURL()
+ {
+ return identityURL;
+ }
- /**
- * Gets the value of the metaDataProvider property.
- *
- * @return
- * possible object is
- * {@link MetadataProviderType }
- *
- */
- public MetadataProviderType getMetaDataProvider() {
- return metaDataProvider;
- }
+ /**
+ * Sets the value of the identityURL property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentityURL(String value)
+ {
+ this.identityURL = value;
+ }
- /**
- * Sets the value of the metaDataProvider property.
- *
- * @param value
- * allowed object is
- * {@link MetadataProviderType }
- *
- */
- public void setMetaDataProvider(MetadataProviderType value) {
- this.metaDataProvider = value;
- }
+ /**
+ * Gets the value of the trust property.
+ *
+ * @return
+ * possible object is
+ * {@link TrustType }
+ *
+ */
+ public TrustType getTrust()
+ {
+ return trust;
+ }
- /**
- * Gets the value of the serverEnvironment property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getServerEnvironment() {
- if (serverEnvironment == null) {
- return "picketlink";
- } else {
- return serverEnvironment;
- }
- }
+ /**
+ * Sets the value of the trust property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TrustType }
+ *
+ */
+ public void setTrust(TrustType value)
+ {
+ this.trust = value;
+ }
- /**
- * Sets the value of the serverEnvironment property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setServerEnvironment(String value) {
- this.serverEnvironment = value;
- }
+ /**
+ * Gets the value of the keyProvider property.
+ *
+ * @return
+ * possible object is
+ * {@link KeyProviderType }
+ *
+ */
+ public KeyProviderType getKeyProvider()
+ {
+ return keyProvider;
+ }
+ /**
+ * Sets the value of the keyProvider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link KeyProviderType }
+ *
+ */
+ public void setKeyProvider(KeyProviderType value)
+ {
+ this.keyProvider = value;
+ }
- /**
- * Gets the value of the canonicalizationMethod property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
+ /**
+ * Gets the value of the metaDataProvider property.
+ *
+ * @return
+ * possible object is
+ * {@link MetadataProviderType }
+ *
+ */
+ public MetadataProviderType getMetaDataProvider()
+ {
+ return metaDataProvider;
+ }
+
+ /**
+ * Sets the value of the metaDataProvider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MetadataProviderType }
+ *
+ */
+ public void setMetaDataProvider(MetadataProviderType value)
+ {
+ this.metaDataProvider = value;
+ }
+
+ /**
+ * Gets the value of the serverEnvironment property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServerEnvironment()
+ {
+ if (serverEnvironment == null)
+ {
+ return "picketlink";
+ }
+ else
+ {
+ return serverEnvironment;
+ }
+ }
+
+ /**
+ * Sets the value of the serverEnvironment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServerEnvironment(String value)
+ {
+ this.serverEnvironment = value;
+ }
+
+ /**
+ * Gets the value of the canonicalizationMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
public String getCanonicalizationMethod()
{
- if( canonicalizationMethod == null )
+ if (canonicalizationMethod == null)
canonicalizationMethod = CanonicalizationMethod.EXCLUSIVE_WITH_COMMENTS;
-
+
return canonicalizationMethod;
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/SPType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/SPType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/SPType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,6 +1,26 @@
+/*
+ * 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.identity.federation.core.config;
-
/**
* Service Provider Type
*
@@ -21,35 +41,36 @@
* </pre>
*
*
- */
-public class SPType
- extends ProviderType
+ */
+public class SPType extends ProviderType
{
-
- protected String serviceURL;
- /**
- * Gets the value of the serviceURL property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getServiceURL() {
- return serviceURL;
- }
+ protected String serviceURL;
- /**
- * Sets the value of the serviceURL property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setServiceURL(String value) {
- this.serviceURL = value;
- }
+ /**
+ * Gets the value of the serviceURL property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServiceURL()
+ {
+ return serviceURL;
+ }
+ /**
+ * Sets the value of the serviceURL property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServiceURL(String value)
+ {
+ this.serviceURL = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/STSType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/STSType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/STSType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import javax.xml.crypto.dsig.CanonicalizationMethod;
@@ -2,4 +23,2 @@
-
-
/**
@@ -32,265 +51,305 @@
* </pre>
*
*
- */
-public class STSType {
-
- protected KeyProviderType keyProvider;
- protected String requestHandler;
- protected ClaimsProcessorsType claimsProcessors;
- protected TokenProvidersType tokenProviders;
- protected ServiceProvidersType serviceProviders;
- protected String stsName;
- protected Integer tokenTimeout;
- protected Boolean signToken;
- protected Boolean encryptToken;
- protected String canonicalizationMethod;
+ */
+public class STSType
+{
- /**
- * Gets the value of the keyProvider property.
- *
- * @return
- * possible object is
- * {@link KeyProviderType }
- *
- */
- public KeyProviderType getKeyProvider() {
- return keyProvider;
- }
+ protected KeyProviderType keyProvider;
- /**
- * Sets the value of the keyProvider property.
- *
- * @param value
- * allowed object is
- * {@link KeyProviderType }
- *
- */
- public void setKeyProvider(KeyProviderType value) {
- this.keyProvider = value;
- }
+ protected String requestHandler;
- /**
- * Gets the value of the requestHandler property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getRequestHandler() {
- return requestHandler;
- }
+ protected ClaimsProcessorsType claimsProcessors;
- /**
- * Sets the value of the requestHandler property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setRequestHandler(String value) {
- this.requestHandler = value;
- }
+ protected TokenProvidersType tokenProviders;
- /**
- * Gets the value of the claimsProcessors property.
- *
- * @return
- * possible object is
- * {@link ClaimsProcessorsType }
- *
- */
- public ClaimsProcessorsType getClaimsProcessors() {
- return claimsProcessors;
- }
+ protected ServiceProvidersType serviceProviders;
- /**
- * Sets the value of the claimsProcessors property.
- *
- * @param value
- * allowed object is
- * {@link ClaimsProcessorsType }
- *
- */
- public void setClaimsProcessors(ClaimsProcessorsType value) {
- this.claimsProcessors = value;
- }
+ protected String stsName;
- /**
- * Gets the value of the tokenProviders property.
- *
- * @return
- * possible object is
- * {@link TokenProvidersType }
- *
- */
- public TokenProvidersType getTokenProviders() {
- return tokenProviders;
- }
+ protected Integer tokenTimeout;
- /**
- * Sets the value of the tokenProviders property.
- *
- * @param value
- * allowed object is
- * {@link TokenProvidersType }
- *
- */
- public void setTokenProviders(TokenProvidersType value) {
- this.tokenProviders = value;
- }
+ protected Boolean signToken;
- /**
- * Gets the value of the serviceProviders property.
- *
- * @return
- * possible object is
- * {@link ServiceProvidersType }
- *
- */
- public ServiceProvidersType getServiceProviders() {
- return serviceProviders;
- }
+ protected Boolean encryptToken;
- /**
- * Sets the value of the serviceProviders property.
- *
- * @param value
- * allowed object is
- * {@link ServiceProvidersType }
- *
- */
- public void setServiceProviders(ServiceProvidersType value) {
- this.serviceProviders = value;
- }
+ protected String canonicalizationMethod;
- /**
- * Gets the value of the stsName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getSTSName() {
- if (stsName == null) {
- return "PicketLinkSTS";
- } else {
- return stsName;
- }
- }
+ /**
+ * Gets the value of the keyProvider property.
+ *
+ * @return
+ * possible object is
+ * {@link KeyProviderType }
+ *
+ */
+ public KeyProviderType getKeyProvider()
+ {
+ return keyProvider;
+ }
- /**
- * Sets the value of the stsName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setSTSName(String value) {
- this.stsName = value;
- }
+ /**
+ * Sets the value of the keyProvider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link KeyProviderType }
+ *
+ */
+ public void setKeyProvider(KeyProviderType value)
+ {
+ this.keyProvider = value;
+ }
- /**
- * Gets the value of the tokenTimeout property.
- *
- * @return
- * possible object is
- * {@link Integer }
- *
- */
- public int getTokenTimeout() {
- if (tokenTimeout == null) {
- return 3600;
- } else {
- return tokenTimeout;
- }
- }
+ /**
+ * Gets the value of the requestHandler property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRequestHandler()
+ {
+ return requestHandler;
+ }
- /**
- * Sets the value of the tokenTimeout property.
- *
- * @param value
- * allowed object is
- * {@link Integer }
- *
- */
- public void setTokenTimeout(Integer value) {
- this.tokenTimeout = value;
- }
+ /**
+ * Sets the value of the requestHandler property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequestHandler(String value)
+ {
+ this.requestHandler = value;
+ }
- /**
- * Gets the value of the signToken property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isSignToken() {
- if (signToken == null) {
- return true;
- } else {
- return signToken;
- }
- }
+ /**
+ * Gets the value of the claimsProcessors property.
+ *
+ * @return
+ * possible object is
+ * {@link ClaimsProcessorsType }
+ *
+ */
+ public ClaimsProcessorsType getClaimsProcessors()
+ {
+ return claimsProcessors;
+ }
- /**
- * Sets the value of the signToken property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setSignToken(Boolean value) {
- this.signToken = value;
- }
+ /**
+ * Sets the value of the claimsProcessors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ClaimsProcessorsType }
+ *
+ */
+ public void setClaimsProcessors(ClaimsProcessorsType value)
+ {
+ this.claimsProcessors = value;
+ }
- /**
- * Gets the value of the encryptToken property.
- *
- * @return
- * possible object is
- * {@link Boolean }
- *
- */
- public boolean isEncryptToken() {
- if (encryptToken == null) {
- return false;
- } else {
- return encryptToken;
- }
- }
+ /**
+ * Gets the value of the tokenProviders property.
+ *
+ * @return
+ * possible object is
+ * {@link TokenProvidersType }
+ *
+ */
+ public TokenProvidersType getTokenProviders()
+ {
+ return tokenProviders;
+ }
- /**
- * Sets the value of the encryptToken property.
- *
- * @param value
- * allowed object is
- * {@link Boolean }
- *
- */
- public void setEncryptToken(Boolean value) {
- this.encryptToken = value;
- }
+ /**
+ * Sets the value of the tokenProviders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TokenProvidersType }
+ *
+ */
+ public void setTokenProviders(TokenProvidersType value)
+ {
+ this.tokenProviders = value;
+ }
- /**
- * Gets the value of the canonicalizationMethod property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
+ /**
+ * Gets the value of the serviceProviders property.
+ *
+ * @return
+ * possible object is
+ * {@link ServiceProvidersType }
+ *
+ */
+ public ServiceProvidersType getServiceProviders()
+ {
+ return serviceProviders;
+ }
+
+ /**
+ * Sets the value of the serviceProviders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ServiceProvidersType }
+ *
+ */
+ public void setServiceProviders(ServiceProvidersType value)
+ {
+ this.serviceProviders = value;
+ }
+
+ /**
+ * Gets the value of the stsName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSTSName()
+ {
+ if (stsName == null)
+ {
+ return "PicketLinkSTS";
+ }
+ else
+ {
+ return stsName;
+ }
+ }
+
+ /**
+ * Sets the value of the stsName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSTSName(String value)
+ {
+ this.stsName = value;
+ }
+
+ /**
+ * Gets the value of the tokenTimeout property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public int getTokenTimeout()
+ {
+ if (tokenTimeout == null)
+ {
+ return 3600;
+ }
+ else
+ {
+ return tokenTimeout;
+ }
+ }
+
+ /**
+ * Sets the value of the tokenTimeout property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setTokenTimeout(Integer value)
+ {
+ this.tokenTimeout = value;
+ }
+
+ /**
+ * Gets the value of the signToken property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSignToken()
+ {
+ if (signToken == null)
+ {
+ return true;
+ }
+ else
+ {
+ return signToken;
+ }
+ }
+
+ /**
+ * Sets the value of the signToken property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSignToken(Boolean value)
+ {
+ this.signToken = value;
+ }
+
+ /**
+ * Gets the value of the encryptToken property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isEncryptToken()
+ {
+ if (encryptToken == null)
+ {
+ return false;
+ }
+ else
+ {
+ return encryptToken;
+ }
+ }
+
+ /**
+ * Sets the value of the encryptToken property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEncryptToken(Boolean value)
+ {
+ this.encryptToken = value;
+ }
+
+ /**
+ * Gets the value of the canonicalizationMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
public String getCanonicalizationMethod()
{
- if( canonicalizationMethod == null )
+ if (canonicalizationMethod == null)
canonicalizationMethod = CanonicalizationMethod.EXCLUSIVE_WITH_COMMENTS;
-
+
return canonicalizationMethod;
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProviderType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProviderType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProviderType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,6 +1,26 @@
+/*
+ * 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.identity.federation.core.config;
-
/**
*
* The service provider type contains information about a specific service provider.
In particular,
@@ -27,83 +47,92 @@
* </pre>
*
*
- */
-public class ServiceProviderType {
-
- protected String endpoint;
- protected String tokenType;
- protected String truststoreAlias;
+ */
+public class ServiceProviderType
+{
- /**
- * Gets the value of the endpoint property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getEndpoint() {
- return endpoint;
- }
+ protected String endpoint;
- /**
- * Sets the value of the endpoint property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setEndpoint(String value) {
- this.endpoint = value;
- }
+ protected String tokenType;
- /**
- * Gets the value of the tokenType property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getTokenType() {
- return tokenType;
- }
+ protected String truststoreAlias;
- /**
- * Sets the value of the tokenType property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setTokenType(String value) {
- this.tokenType = value;
- }
+ /**
+ * Gets the value of the endpoint property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEndpoint()
+ {
+ return endpoint;
+ }
- /**
- * Gets the value of the truststoreAlias property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getTruststoreAlias() {
- return truststoreAlias;
- }
+ /**
+ * Sets the value of the endpoint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEndpoint(String value)
+ {
+ this.endpoint = value;
+ }
- /**
- * Sets the value of the truststoreAlias property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setTruststoreAlias(String value) {
- this.truststoreAlias = value;
- }
+ /**
+ * Gets the value of the tokenType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenType()
+ {
+ return tokenType;
+ }
+ /**
+ * Sets the value of the tokenType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenType(String value)
+ {
+ this.tokenType = value;
+ }
+
+ /**
+ * Gets the value of the truststoreAlias property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTruststoreAlias()
+ {
+ return truststoreAlias;
+ }
+
+ /**
+ * Sets the value of the truststoreAlias property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTruststoreAlias(String value)
+ {
+ this.truststoreAlias = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProvidersType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProvidersType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/ServiceProvidersType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -2,3 +23,3 @@
import java.util.Collections;
-import java.util.List;
+import java.util.List;
@@ -26,32 +47,34 @@
* </pre>
*
*
- */
-public class ServiceProvidersType {
-
- protected List<ServiceProviderType> serviceProvider = new
ArrayList<ServiceProviderType>();
+ */
+public class ServiceProvidersType
+{
- public void add( ServiceProviderType sp )
- {
- this.serviceProvider.add(sp);
- }
-
- public void remove( ServiceProviderType sp )
- {
- this.serviceProvider.remove(sp);
- }
-
- /**
- * Gets the value of the serviceProvider property.
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link ServiceProviderType }
- *
- *
- */
- public List<ServiceProviderType> getServiceProvider() {
- return Collections.unmodifiableList( this.serviceProvider );
- }
+ protected List<ServiceProviderType> serviceProvider = new
ArrayList<ServiceProviderType>();
+ public void add(ServiceProviderType sp)
+ {
+ this.serviceProvider.add(sp);
+ }
+
+ public void remove(ServiceProviderType sp)
+ {
+ this.serviceProvider.remove(sp);
+ }
+
+ /**
+ * Gets the value of the serviceProvider property.
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceProviderType }
+ *
+ *
+ */
+ public List<ServiceProviderType> getServiceProvider()
+ {
+ return Collections.unmodifiableList(this.serviceProvider);
+ }
+
}
\ No newline at end of file
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProviderType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProviderType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProviderType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -2,5 +23,4 @@
import java.util.Collections;
-import java.util.List;
+import java.util.List;
-
/**
@@ -27,131 +47,145 @@
* </pre>
*
*
- */
-public class TokenProviderType {
-
- protected List<KeyValueType> property = new ArrayList<KeyValueType>();
- protected String providerClass;
- protected String tokenType;
- protected String tokenElement;
- protected String tokenElementNS;
+ */
+public class TokenProviderType
+{
- public void add( KeyValueType kv )
- {
- property.add(kv);
- }
-
- public void remove( KeyValueType kv )
- {
- this.remove(kv);
- }
-
- /**
- * Gets the value of the property property.
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link KeyValueType }
- *
- *
- */
- public List<KeyValueType> getProperty() {
- return Collections.unmodifiableList( this.property );
- }
+ protected List<KeyValueType> property = new ArrayList<KeyValueType>();
- /**
- * Gets the value of the providerClass property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getProviderClass() {
- return providerClass;
- }
+ protected String providerClass;
- /**
- * Sets the value of the providerClass property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setProviderClass(String value) {
- this.providerClass = value;
- }
+ protected String tokenType;
- /**
- * Gets the value of the tokenType property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getTokenType() {
- return tokenType;
- }
+ protected String tokenElement;
- /**
- * Sets the value of the tokenType property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setTokenType(String value) {
- this.tokenType = value;
- }
+ protected String tokenElementNS;
- /**
- * Gets the value of the tokenElement property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getTokenElement() {
- return tokenElement;
- }
+ public void add(KeyValueType kv)
+ {
+ property.add(kv);
+ }
- /**
- * Sets the value of the tokenElement property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setTokenElement(String value) {
- this.tokenElement = value;
- }
+ public void remove(KeyValueType kv)
+ {
+ this.remove(kv);
+ }
- /**
- * Gets the value of the tokenElementNS property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getTokenElementNS() {
- return tokenElementNS;
- }
+ /**
+ * Gets the value of the property property.
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link KeyValueType }
+ *
+ *
+ */
+ public List<KeyValueType> getProperty()
+ {
+ return Collections.unmodifiableList(this.property);
+ }
- /**
- * Sets the value of the tokenElementNS property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setTokenElementNS(String value) {
- this.tokenElementNS = value;
- }
+ /**
+ * Gets the value of the providerClass property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProviderClass()
+ {
+ return providerClass;
+ }
+ /**
+ * Sets the value of the providerClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProviderClass(String value)
+ {
+ this.providerClass = value;
+ }
+
+ /**
+ * Gets the value of the tokenType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenType()
+ {
+ return tokenType;
+ }
+
+ /**
+ * Sets the value of the tokenType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenType(String value)
+ {
+ this.tokenType = value;
+ }
+
+ /**
+ * Gets the value of the tokenElement property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenElement()
+ {
+ return tokenElement;
+ }
+
+ /**
+ * Sets the value of the tokenElement property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenElement(String value)
+ {
+ this.tokenElement = value;
+ }
+
+ /**
+ * Gets the value of the tokenElementNS property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenElementNS()
+ {
+ return tokenElementNS;
+ }
+
+ /**
+ * Sets the value of the tokenElementNS property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenElementNS(String value)
+ {
+ this.tokenElementNS = value;
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProvidersType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProvidersType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TokenProvidersType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,3 +1,24 @@
+/*
+ * 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.identity.federation.core.config;
import java.util.ArrayList;
@@ -2,5 +23,4 @@
import java.util.Collections;
-import java.util.List;
+import java.util.List;
-
/**
@@ -29,31 +49,33 @@
* </pre>
*
*
- */
-public class TokenProvidersType {
-
- protected List<TokenProviderType> tokenProvider = new
ArrayList<TokenProviderType>();
+ */
+public class TokenProvidersType
+{
- public void add( TokenProviderType tp )
- {
- this.tokenProvider.add(tp);
- }
-
- public void remove( TokenProviderType tp )
- {
- this.tokenProvider.remove(tp);
- }
-
- /**
- * Gets the value of the tokenProvider property.
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link TokenProviderType }
- *
- *
- */
- public List<TokenProviderType> getTokenProvider() {
- return Collections.unmodifiableList( this.tokenProvider );
- }
+ protected List<TokenProviderType> tokenProvider = new
ArrayList<TokenProviderType>();
+ public void add(TokenProviderType tp)
+ {
+ this.tokenProvider.add(tp);
+ }
+
+ public void remove(TokenProviderType tp)
+ {
+ this.tokenProvider.remove(tp);
+ }
+
+ /**
+ * Gets the value of the tokenProvider property.
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TokenProviderType }
+ *
+ *
+ */
+ public List<TokenProviderType> getTokenProvider()
+ {
+ return Collections.unmodifiableList(this.tokenProvider);
+ }
+
}
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TrustType.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TrustType.java 2011-02-28
20:28:24 UTC (rev 783)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/config/TrustType.java 2011-02-28
21:07:55 UTC (rev 784)
@@ -1,5 +1,26 @@
+/*
+ * 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.identity.federation.core.config;
-
+
/**
* Aspects involved in trust decisions such as the domains that the IDP or the Service
Provider trusts.
*
@@ -20,33 +41,36 @@
* </pre>
*
*
- */
-public class TrustType {
-
- protected String domains;
+ */
+public class TrustType
+{
- /**
- * Gets the value of the domains property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDomains() {
- return domains;
- }
+ protected String domains;
- /**
- * Sets the value of the domains property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDomains(String value) {
- this.domains = value;
- }
+ /**
+ * Gets the value of the domains property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDomains()
+ {
+ return domains;
+ }
+ /**
+ * Sets the value of the domains property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDomains(String value)
+ {
+ this.domains = value;
+ }
+
}