|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.saml.ext.builder.SAML2ComponentBuilder
public final class SAML2ComponentBuilder
Class SAML2ComponentBuilder provides builder methods that can be used to construct SAML v2.0 statements using the OpenSaml library.
Created on May 18, 2009
| Method Summary | |
|---|---|
static org.opensaml.saml2.core.Assertion |
createAssertion()
Create a SAML 2 assertion |
static org.opensaml.saml2.core.Attribute |
createAttribute(java.lang.String friendlyName,
java.lang.String name)
Deprecated. |
static org.opensaml.saml2.core.Attribute |
createAttribute(java.lang.String friendlyName,
java.lang.String name,
java.util.List<java.lang.String> values)
Deprecated. |
static org.opensaml.saml2.core.Attribute |
createAttribute(java.lang.String friendlyName,
java.lang.String name,
java.lang.String nameFormat)
Create an Attribute object. |
static org.opensaml.saml2.core.Attribute |
createAttribute(java.lang.String friendlyName,
java.lang.String name,
java.lang.String nameFormat,
java.util.List<?> values)
Create a SAML2 Attribute |
static java.util.List<org.opensaml.saml2.core.AttributeStatement> |
createAttributeStatement(java.util.List<AttributeStatementBean> attributeData)
Create SAML2 Attribute Statement(s) |
static org.opensaml.saml2.core.AudienceRestriction |
createAudienceRestriction(java.lang.String audienceURI)
Create an AudienceRestriction object |
static java.util.List<org.opensaml.saml2.core.AuthnStatement> |
createAuthnStatement(java.util.List<AuthenticationStatementBean> authBeans)
Create SAML 2 Authentication Statement(s). |
static java.util.List<org.opensaml.saml2.core.AuthzDecisionStatement> |
createAuthorizationDecisionStatement(java.util.List<AuthDecisionStatementBean> decisionData)
Create SAML2 AuthorizationDecisionStatement(s) |
static org.opensaml.saml2.core.Conditions |
createConditions(ConditionsBean conditionsBean)
Create a Conditions object |
static org.opensaml.saml2.core.Issuer |
createIssuer(java.lang.String issuerValue)
Create an Issuer object |
static org.opensaml.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.saml2.core.Subject |
createSaml2Subject(SubjectBean subjectBean)
Create a Subject. |
static org.opensaml.saml2.core.Action |
createSamlAction(ActionBean actionBean)
Create an Action object |
static org.opensaml.saml2.core.SubjectConfirmation |
createSubjectConfirmation(java.lang.String method,
org.opensaml.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.saml2.core.SubjectConfirmationData |
createSubjectConfirmationData(java.lang.String inResponseTo,
java.lang.String recipient,
org.joda.time.DateTime notOnOrAfter,
KeyInfoBean keyInfoBean)
Deprecated. |
static org.opensaml.saml2.core.SubjectConfirmationData |
createSubjectConfirmationData(SubjectConfirmationDataBean subjectConfirmationDataBean,
KeyInfoBean keyInfoBean)
Create a SubjectConfirmationData object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.opensaml.saml2.core.Assertion createAssertion()
public static org.opensaml.saml2.core.Issuer createIssuer(java.lang.String issuerValue)
issuerValue - of type String
public static org.opensaml.saml2.core.Conditions createConditions(ConditionsBean conditionsBean)
conditionsBean - A ConditionsBean object
public static org.opensaml.saml2.core.AudienceRestriction createAudienceRestriction(java.lang.String audienceURI)
audienceURI - of type String
public static java.util.List<org.opensaml.saml2.core.AuthnStatement> createAuthnStatement(java.util.List<AuthenticationStatementBean> authBeans)
authBeans - A list of AuthenticationStatementBean instances
public static org.opensaml.saml2.core.Attribute createAttribute(java.lang.String friendlyName,
java.lang.String name,
java.util.List<java.lang.String> values)
friendlyName - of type Stringname - of type Stringvalues - of type ArrayList
public static org.opensaml.saml2.core.Attribute createAttribute(java.lang.String friendlyName,
java.lang.String name,
java.lang.String nameFormat,
java.util.List<?> values)
friendlyName - of type Stringname - of type StringnameFormat - of type Stringvalues - of type ArrayList
public static org.opensaml.saml2.core.Subject createSaml2Subject(SubjectBean subjectBean)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
subjectBean - of type SubjectBean
org.opensaml.xml.security.SecurityException
WSSecurityException
@Deprecated
public static org.opensaml.saml2.core.SubjectConfirmationData createSubjectConfirmationData(java.lang.String inResponseTo,
java.lang.String recipient,
org.joda.time.DateTime notOnOrAfter,
KeyInfoBean keyInfoBean)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
inResponseTo - of type Stringrecipient - of type StringnotOnOrAfter - of type DateTimekeyInfoBean - of type KeyInfoBean
org.opensaml.xml.security.SecurityException
WSSecurityException
public static org.opensaml.saml2.core.SubjectConfirmationData createSubjectConfirmationData(SubjectConfirmationDataBean subjectConfirmationDataBean,
KeyInfoBean keyInfoBean)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
subjectConfirmationDataBean - of type SubjectConfirmationDataBeankeyInfoBean - of type KeyInfoBean
org.opensaml.xml.security.SecurityException
WSSecurityException
public static org.opensaml.saml2.core.SubjectConfirmation createSubjectConfirmation(java.lang.String method,
org.opensaml.saml2.core.SubjectConfirmationData subjectConfirmationData)
method - of type StringsubjectConfirmationData - of type SubjectConfirmationData
public static org.opensaml.saml2.core.NameID createNameID(SubjectBean subject)
subject - A SubjectBean instance
public static java.util.List<org.opensaml.saml2.core.AttributeStatement> createAttributeStatement(java.util.List<AttributeStatementBean> attributeData)
attributeData - A list of AttributeStatementBean instances
public static org.opensaml.saml2.core.Attribute createAttribute(java.lang.String friendlyName,
java.lang.String name)
friendlyName - of type Stringname - of type String
public static org.opensaml.saml2.core.Attribute createAttribute(java.lang.String friendlyName,
java.lang.String name,
java.lang.String nameFormat)
friendlyName - of type Stringname - of type StringnameFormat - of type String
public static java.util.List<org.opensaml.saml2.core.AuthzDecisionStatement> createAuthorizationDecisionStatement(java.util.List<AuthDecisionStatementBean> decisionData)
decisionData - A list of AuthDecisionStatementBean instances
public static org.opensaml.saml2.core.Action createSamlAction(ActionBean actionBean)
actionBean - An ActionBean instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||