PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.saml.v2.factories
Class JBossSAMLBaseFactory

java.lang.Object
  extended by org.picketlink.identity.federation.core.saml.v2.factories.JBossSAMLBaseFactory

public class JBossSAMLBaseFactory
extends Object

Base methods for the factories

Since:
Dec 9, 2008
Author:
Anil.Saldhana@redhat.com

Constructor Summary
JBossSAMLBaseFactory()
           
 
Method Summary
static AttributeType createAttributeForRole(String roleName)
          Create an attribute type given a role name
static AttributeStatementType createAttributeStatement()
          Create an empty attribute statement
static AttributeStatementType createAttributeStatement(String attributeValue)
          Create an AttributeStatement given an attribute
static SubjectConfirmationType createSubjectConfirmation(String method)
          Create a Subject confirmation type given the method
static SubjectConfirmationDataType createSubjectConfirmationData(String inResponseTo, String destinationURI, XMLGregorianCalendar issueInstant)
          Create a Subject Confirmation
static String createUUID()
          Get a UUID String
static NameIDType getIssuer(String issuerID)
          Return the NameIDType for the issuer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossSAMLBaseFactory

public JBossSAMLBaseFactory()
Method Detail

createAttributeStatement

public static AttributeStatementType createAttributeStatement()
Create an empty attribute statement

Returns:

createAttributeForRole

public static AttributeType createAttributeForRole(String roleName)
Create an attribute type given a role name

Parameters:
roleName -
Returns:

createAttributeStatement

public static AttributeStatementType createAttributeStatement(String attributeValue)
Create an AttributeStatement given an attribute

Parameters:
attributeValue -
Returns:

createSubjectConfirmation

public static SubjectConfirmationType createSubjectConfirmation(String method)
Create a Subject confirmation type given the method

Parameters:
method -
Returns:

createSubjectConfirmationData

public static SubjectConfirmationDataType createSubjectConfirmationData(String inResponseTo,
                                                                        String destinationURI,
                                                                        XMLGregorianCalendar issueInstant)
Create a Subject Confirmation

Parameters:
inResponseTo -
destinationURI -
issueInstant -
Returns:

createUUID

public static String createUUID()
Get a UUID String

Returns:

getIssuer

public static NameIDType getIssuer(String issuerID)
Return the NameIDType for the issuer

Parameters:
issuerID -
Returns:

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.