public final class SAML2ComponentBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static org.opensaml.saml.saml2.core.Advice |
createAdvice(AdviceBean adviceBean)
Create a Advice object
|
static org.opensaml.saml.saml2.core.Assertion |
createAssertion()
Create a SAML 2 assertion
|
static org.opensaml.saml.saml2.core.Attribute |
createAttribute(String friendlyName,
String name,
String nameFormat)
Create an Attribute object.
|
static org.opensaml.saml.saml2.core.Attribute |
createAttribute(String friendlyName,
String name,
String nameFormat,
List<Object> values)
Create a SAML2 Attribute
|
static List<org.opensaml.saml.saml2.core.AttributeStatement> |
createAttributeStatement(List<AttributeStatementBean> attributeData)
Create SAML2 Attribute Statement(s)
|
static org.opensaml.saml.saml2.core.AudienceRestriction |
createAudienceRestriction(AudienceRestrictionBean audienceRestrictionBean)
Create an AudienceRestriction object
|
static List<org.opensaml.saml.saml2.core.AuthnStatement> |
createAuthnStatement(List<AuthenticationStatementBean> authBeans)
Create SAML 2 Authentication Statement(s).
|
static List<org.opensaml.saml.saml2.core.AuthzDecisionStatement> |
createAuthorizationDecisionStatement(List<AuthDecisionStatementBean> decisionData)
Create SAML2 AuthorizationDecisionStatement(s)
|
static org.opensaml.saml.saml2.core.Conditions |
createConditions(ConditionsBean conditionsBean)
Create a Conditions object
|
static org.opensaml.saml.ext.saml2delrestrict.DelegationRestrictionType |
createDelegationRestriction(List<DelegateBean> delegates)
Create an DelegationRestrictionType object
|
static org.opensaml.saml.saml2.core.Issuer |
createIssuer(String issuerValue)
Deprecated.
|
static org.opensaml.saml.saml2.core.Issuer |
createIssuer(String issuerValue,
String issuerFormat,
String issuerQualifier)
Create an Issuer object
|
static org.opensaml.saml.saml2.core.NameID |
createNameID(NameIDBean nameIDBean) |
static org.opensaml.saml.saml2.core.NameID |
createNameID(SubjectBean subject)
Create a NameID object
One of the following formats MUST be used:
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos
urn:oasis:names:tc:SAML:2.0:nameid-format:entity
urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
urn:oasis:names:tc:SAML:2.0:nameid-format:transient
|
static org.opensaml.saml.saml2.core.OneTimeUse |
createOneTimeUse()
Create a OneTimeUse object
|
static org.opensaml.saml.saml2.core.ProxyRestriction |
createProxyRestriction(ProxyRestrictionBean proxyRestrictionBean)
Create a ProxyRestriction object
|
static org.opensaml.saml.saml2.core.Subject |
createSaml2Subject(SubjectBean subjectBean)
Create a Subject.
|
static org.opensaml.saml.saml2.core.Action |
createSamlAction(ActionBean actionBean)
Create an Action object
|
static org.opensaml.saml.saml2.core.SubjectConfirmation |
createSubjectConfirmation(String method,
org.opensaml.saml.saml2.core.SubjectConfirmationData subjectConfirmationData)
Create a SubjectConfirmation object
One of the following subject confirmation methods MUST be used:
urn:oasis:names:tc:SAML:2.0:cm:holder-of-key
urn:oasis:names:tc:SAML:2.0:cm:sender-vouches
urn:oasis:names:tc:SAML:2.0:cm:bearer
|
static org.opensaml.saml.saml2.core.SubjectConfirmationData |
createSubjectConfirmationData(SubjectConfirmationDataBean subjectConfirmationDataBean,
KeyInfoBean keyInfoBean)
Create a SubjectConfirmationData object
|
public static org.opensaml.saml.saml2.core.Assertion createAssertion()
public static org.opensaml.saml.saml2.core.Issuer createIssuer(String issuerValue, String issuerFormat, String issuerQualifier)
issuerValue
- of type StringissuerFormat
- of type StringissuerQualifier
- of type String@Deprecated public static org.opensaml.saml.saml2.core.Issuer createIssuer(String issuerValue)
issuerValue
- of type Stringpublic static org.opensaml.saml.saml2.core.Conditions createConditions(ConditionsBean conditionsBean)
conditionsBean
- A ConditionsBean objectpublic static org.opensaml.saml.saml2.core.Advice createAdvice(AdviceBean adviceBean) throws WSSecurityException
adviceBean
- A AdviceBean objectWSSecurityException
public static org.opensaml.saml.saml2.core.AudienceRestriction createAudienceRestriction(AudienceRestrictionBean audienceRestrictionBean)
audienceRestrictionBean
- of type AudienceRestrictionBeanpublic static org.opensaml.saml.ext.saml2delrestrict.DelegationRestrictionType createDelegationRestriction(List<DelegateBean> delegates)
delegates
- of type Listpublic static org.opensaml.saml.saml2.core.OneTimeUse createOneTimeUse()
public static org.opensaml.saml.saml2.core.ProxyRestriction createProxyRestriction(ProxyRestrictionBean proxyRestrictionBean)
public static List<org.opensaml.saml.saml2.core.AuthnStatement> createAuthnStatement(List<AuthenticationStatementBean> authBeans)
authBeans
- A list of AuthenticationStatementBean instancespublic static org.opensaml.saml.saml2.core.Attribute createAttribute(String friendlyName, String name, String nameFormat, List<Object> values)
friendlyName
- of type Stringname
- of type StringnameFormat
- of type Stringvalues
- of type ArrayListpublic static org.opensaml.saml.saml2.core.Subject createSaml2Subject(SubjectBean subjectBean) throws org.opensaml.security.SecurityException, WSSecurityException
subjectBean
- of type SubjectBeanorg.opensaml.security.SecurityException
WSSecurityException
public static org.opensaml.saml.saml2.core.SubjectConfirmationData createSubjectConfirmationData(SubjectConfirmationDataBean subjectConfirmationDataBean, KeyInfoBean keyInfoBean) throws org.opensaml.security.SecurityException, WSSecurityException
subjectConfirmationDataBean
- of type SubjectConfirmationDataBeankeyInfoBean
- of type KeyInfoBeanorg.opensaml.security.SecurityException
WSSecurityException
public static org.opensaml.saml.saml2.core.SubjectConfirmation createSubjectConfirmation(String method, org.opensaml.saml.saml2.core.SubjectConfirmationData subjectConfirmationData)
method
- of type StringsubjectConfirmationData
- of type SubjectConfirmationDatapublic static org.opensaml.saml.saml2.core.NameID createNameID(SubjectBean subject)
subject
- A SubjectBean instancepublic static org.opensaml.saml.saml2.core.NameID createNameID(NameIDBean nameIDBean)
public static List<org.opensaml.saml.saml2.core.AttributeStatement> createAttributeStatement(List<AttributeStatementBean> attributeData)
attributeData
- A list of AttributeStatementBean instancespublic static org.opensaml.saml.saml2.core.Attribute createAttribute(String friendlyName, String name, String nameFormat)
friendlyName
- of type Stringname
- of type StringnameFormat
- of type Stringpublic static List<org.opensaml.saml.saml2.core.AuthzDecisionStatement> createAuthorizationDecisionStatement(List<AuthDecisionStatementBean> decisionData)
decisionData
- A list of AuthDecisionStatementBean instancespublic static org.opensaml.saml.saml2.core.Action createSamlAction(ActionBean actionBean)
actionBean
- An ActionBean instanceCopyright © 2017 JBoss by Red Hat. All rights reserved.