org.opensaml.saml.saml2.metadata.Endpoint Java Examples

The following examples show how to use org.opensaml.saml.saml2.metadata.Endpoint. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AccessFilter.java    From OpenSAML-ref-project-demo-v3 with Apache License 2.0 5 votes vote down vote up
private Endpoint getIPDEndpoint() {
    SingleSignOnService endpoint = OpenSAMLUtils.buildSAMLObject(SingleSignOnService.class);
    endpoint.setBinding(SAMLConstants.SAML2_REDIRECT_BINDING_URI);
    endpoint.setLocation(getIPDSSODestination());

    return endpoint;
}
 
Example #2
Source File: AuthenticationHandlerSAML2.java    From sling-whiteboard with Apache License 2.0 4 votes vote down vote up
private Endpoint getIPDEndpoint() {
    SingleSignOnService endpoint = Helpers.buildSAMLObject(SingleSignOnService.class);
    endpoint.setBinding(SAMLConstants.SAML2_REDIRECT_BINDING_URI);
    endpoint.setLocation(saml2ConfigService.getSaml2IDPDestination());
    return endpoint;
}
 
Example #3
Source File: SAML2IdPEntity.java    From syncope with Apache License 2.0 4 votes vote down vote up
public Endpoint getSSOLocation(final SAML2BindingType bindingType) {
    return ssoBindings.get(bindingType.getUri());
}
 
Example #4
Source File: SAML2IdPEntity.java    From syncope with Apache License 2.0 4 votes vote down vote up
public Endpoint getSLOLocation(final SAML2BindingType bindingType) {
    return sloBindings.get(bindingType.getUri());
}