public class MetaDataBuilder extends Object
Constructor and Description |
---|
MetaDataBuilder() |
Modifier and Type | Method and Description |
---|---|
static EndpointType |
createEndpoint(String binding,
String location,
String responseLocation)
Create an Endpoint (SingleSignOnEndpoint or SingleLogoutEndpoint)
|
static EntityDescriptorType |
createEntityDescriptor(SSODescriptorType idpOrSPDescriptor)
Create an Entity Descriptor
|
static IDPSSODescriptorType |
createIDPSSODescriptor(boolean requestsSigned,
KeyDescriptorType keyDescriptorType,
EndpointType ssoEndPoint,
EndpointType sloEndPoint,
List<AttributeType> attributes,
OrganizationType org)
Create a IDP SSO metadata descriptor
|
static OrganizationType |
createOrganization(String organizationName,
String organizationDisplayName,
String organizationURL,
String lang)
Create an Organization
|
static SPSSODescriptorType |
createSPSSODescriptor(boolean requestsSigned,
KeyDescriptorType keyDescriptorType,
EndpointType sloEndPoint,
List<AttributeType> attributes,
OrganizationType org)
Create a IDP SSO metadata descriptor
|
public static EndpointType createEndpoint(String binding, String location, String responseLocation)
binding
- location
- responseLocation
- public static OrganizationType createOrganization(String organizationName, String organizationDisplayName, String organizationURL, String lang)
organizationName
- organizationDisplayName
- organizationURL
- lang
- public static EntityDescriptorType createEntityDescriptor(SSODescriptorType idpOrSPDescriptor)
idpOrSPDescriptor
- a descriptor for either the IDP or SSOpublic static IDPSSODescriptorType createIDPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType ssoEndPoint, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org)
requestsSigned
- keyDescriptorType
- ssoEndPoint
- sloEndPoint
- attributes
- org
- public static SPSSODescriptorType createSPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org)
requestsSigned
- keyDescriptorType
- ssoEndPoint
- sloEndPoint
- attributes
- org
- Copyright © 2012 JBoss by Red Hat. All Rights Reserved.