PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.saml.v1
Class SAML11ProtocolContext

java.lang.Object
  extended by org.picketlink.identity.federation.core.saml.v1.SAML11ProtocolContext
All Implemented Interfaces:
ProtocolContext

public class SAML11ProtocolContext
extends Object
implements ProtocolContext

A SAML2 specification based instance of ProtocolContext

This instance is used to pass information from the IDP to the Core STS.

Since:
Dec 30, 2010
Author:
Anil.Saldhana@redhat.com

Field Summary
protected  String authMethod
           
protected  SAML11ConditionsType conditions
           
protected  SAML11AssertionType issuedAssertion
           
protected  String issuerID
           
protected  List<SAML11StatementAbstractType> statements
           
protected  SAML11SubjectType subjectType
           
 
Constructor Summary
SAML11ProtocolContext()
           
 
Method Summary
 String family()
          What family the context belongs to..
 String getAuthMethod()
          Get the Authentication Method
 SAML11ConditionsType getConditions()
          Get the conditions
 SAML11AssertionType getIssuedAssertion()
          Get the previously issued assertion by the STS
 String getIssuerID()
          Get the Issuer ID
 QName getQName()
          Return the QName of the token
 List<SAML11StatementAbstractType> getStatements()
          Get the statements as a read-only list
 SAML11SubjectType getSubjectType()
          Get the subject
 String serviceName()
          An optional service name
 void setAuthMethod(String authMethod)
          Set the Authentication Method.
 void setConditions(SAML11ConditionsType conditions)
          Set the conditions
 void setIssuedAssertion(SAML11AssertionType issuedAssertion)
          Set the assertion issued by the STS
 void setIssuerID(String issuerID)
          Set the Issuer ID
 void setStatements(List<SAML11StatementAbstractType> statements)
          Add a list of statements
 void setSubjectType(SAML11SubjectType subjectType)
          Set the subject
 String tokenType()
          A String that represents the token type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

issuerID

protected String issuerID

subjectType

protected SAML11SubjectType subjectType

conditions

protected SAML11ConditionsType conditions

statements

protected List<SAML11StatementAbstractType> statements

issuedAssertion

protected SAML11AssertionType issuedAssertion

authMethod

protected String authMethod
Constructor Detail

SAML11ProtocolContext

public SAML11ProtocolContext()
Method Detail

getIssuerID

public String getIssuerID()
Get the Issuer ID

Returns:
instance of SAML11NameIdentifierType

setIssuerID

public void setIssuerID(String issuerID)
Set the Issuer ID

Parameters:
issuerID - String

getSubjectType

public SAML11SubjectType getSubjectType()
Get the subject

Returns:
SAML11SubjectType

setSubjectType

public void setSubjectType(SAML11SubjectType subjectType)
Set the subject

Parameters:
subjectType - SAML11SubjectType

getConditions

public SAML11ConditionsType getConditions()
Get the conditions

Returns:
SAML11ConditionsType

setConditions

public void setConditions(SAML11ConditionsType conditions)
Set the conditions

Parameters:
conditions - SAML11ConditionsType

getStatements

public List<SAML11StatementAbstractType> getStatements()
Get the statements as a read-only list

Returns:
SAML11StatementAbstractType

setStatements

public void setStatements(List<SAML11StatementAbstractType> statements)
Add a list of statements

Parameters:
statements - SAML11StatementAbstractType

getIssuedAssertion

public SAML11AssertionType getIssuedAssertion()
Get the previously issued assertion by the STS

Returns:
SAML11AssertionType

setIssuedAssertion

public void setIssuedAssertion(SAML11AssertionType issuedAssertion)
Set the assertion issued by the STS

Parameters:
issuedAssertion - SAML11AssertionType

getAuthMethod

public String getAuthMethod()
Get the Authentication Method

Returns:

setAuthMethod

public void setAuthMethod(String authMethod)
Set the Authentication Method. By default, it is set to urn:oasis:names:tc:SAML:1.0:am:password

Parameters:
authMethod -

serviceName

public String serviceName()
Description copied from interface: ProtocolContext
An optional service name

Specified by:
serviceName in interface ProtocolContext
Returns:
See Also:
ProtocolContext.serviceName()

tokenType

public String tokenType()
Description copied from interface: ProtocolContext
A String that represents the token type

Specified by:
tokenType in interface ProtocolContext
Returns:
See Also:
ProtocolContext.tokenType()

getQName

public QName getQName()
Description copied from interface: ProtocolContext
Return the QName of the token

Specified by:
getQName in interface ProtocolContext
Returns:
See Also:
ProtocolContext.getQName()

family

public String family()
Description copied from interface: ProtocolContext
What family the context belongs to..

Specified by:
family in interface ProtocolContext
Returns:
See Also:
ProtocolContext.family()

PicketLink Federation Core 2.1.6.Final-redhat-2

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