|
||||||||||
| 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.SAML1ComponentBuilder
public final class SAML1ComponentBuilder
Class SAML1ComponentBuilder provides builder methods that can be used to construct SAML v1.1 statements using the OpenSaml library.
Created on May 18, 2009
| Method Summary | |
|---|---|
static org.opensaml.xml.signature.KeyInfo |
createKeyInfo(KeyInfoBean keyInfo)
Create an Opensaml KeyInfo object from the parameters |
static org.opensaml.saml1.core.Subject |
createSaml1v1Subject(SubjectBean subjectBean)
Create a SAML Subject from a SubjectBean instance |
static org.opensaml.saml1.core.Action |
createSamlv1Action(ActionBean actionBean)
Create an Action object |
static org.opensaml.saml1.core.Assertion |
createSamlv1Assertion(java.lang.String issuer)
Create a new SAML 1.1 assertion |
static org.opensaml.saml1.core.Attribute |
createSamlv1Attribute(java.lang.String attributeName,
java.lang.String attributeUrn,
java.util.List<?> values)
Create a SAML 1.1 attribute |
static java.util.List<org.opensaml.saml1.core.AttributeStatement> |
createSamlv1AttributeStatement(java.util.List<AttributeStatementBean> attributeData)
Create SAML 1.1 attribute statement(s) |
static org.opensaml.saml1.core.AudienceRestrictionCondition |
createSamlv1AudienceRestriction(java.lang.String audienceURI)
Create an AudienceRestrictionCondition object |
static java.util.List<org.opensaml.saml1.core.AuthenticationStatement> |
createSamlv1AuthenticationStatement(java.util.List<AuthenticationStatementBean> authBeans)
Create SAML 1.1 authentication statement(s) |
static java.util.List<org.opensaml.saml1.core.AuthorizationDecisionStatement> |
createSamlv1AuthorizationDecisionStatement(java.util.List<AuthDecisionStatementBean> decisionData)
Create SAML 1.1 Authorization Decision Statement(s) |
static org.opensaml.saml1.core.Conditions |
createSamlv1Conditions(ConditionsBean conditionsBean)
Create a Conditions 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.saml1.core.Assertion createSamlv1Assertion(java.lang.String issuer)
issuer - of type String
public static org.opensaml.saml1.core.Subject createSaml1v1Subject(SubjectBean subjectBean)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
subjectBean - A SubjectBean instance
org.opensaml.xml.security.SecurityException
WSSecurityException
public static org.opensaml.xml.signature.KeyInfo createKeyInfo(KeyInfoBean keyInfo)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
keyInfo - the KeyInfo bean from which to extract security credentials
org.opensaml.xml.security.SecurityException
WSSecurityExceptionpublic static org.opensaml.saml1.core.Conditions createSamlv1Conditions(ConditionsBean conditionsBean)
conditionsBean - A ConditionsBean object
public static org.opensaml.saml1.core.AudienceRestrictionCondition createSamlv1AudienceRestriction(java.lang.String audienceURI)
audienceURI - of type String
public static java.util.List<org.opensaml.saml1.core.AuthenticationStatement> createSamlv1AuthenticationStatement(java.util.List<AuthenticationStatementBean> authBeans)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
authBeans - A list of AuthenticationStatementBean objects
org.opensaml.xml.security.SecurityException
WSSecurityException
public static java.util.List<org.opensaml.saml1.core.AttributeStatement> createSamlv1AttributeStatement(java.util.List<AttributeStatementBean> attributeData)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
attributeData - A list of AttributeStatementBean instances
org.opensaml.xml.security.SecurityException
WSSecurityException
public static org.opensaml.saml1.core.Attribute createSamlv1Attribute(java.lang.String attributeName,
java.lang.String attributeUrn,
java.util.List<?> values)
attributeName - the Attribute NameattributeUrn - the Attribute Qualified Namevalues - the Attribute Values
public static java.util.List<org.opensaml.saml1.core.AuthorizationDecisionStatement> createSamlv1AuthorizationDecisionStatement(java.util.List<AuthDecisionStatementBean> decisionData)
throws org.opensaml.xml.security.SecurityException,
WSSecurityException
decisionData - of type Listorg.opensaml.xml.security.SecurityException
WSSecurityExceptionpublic static org.opensaml.saml1.core.Action createSamlv1Action(ActionBean actionBean)
actionBean - of type SamlAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||