/** * Given a binding uri, get the IDP identity url * * @param idp * @param bindingURI * * @return */ public static String getLogoutURL(IDPSSODescriptorType idp, String bindingURI) { String logoutURL = null; List<EndpointType> endpoints = idp.getSingleLogoutService(); for (EndpointType endpoint : endpoints) { if (endpoint.getBinding().toString().equals(bindingURI)) { logoutURL = endpoint.getLocation().toString(); break; } } return logoutURL; }
/** * Given a binding uri, get the IDP logout url * * @param idp * @param bindingURI * @return */ public static String getLogoutURL(IDPSSODescriptorType idp, String bindingURI) { String logoutURL = null; List<EndpointType> endpoints = idp.getSingleLogoutService(); for (EndpointType endpoint : endpoints) { if (endpoint.getBinding().toString().equals(bindingURI)) { logoutURL = endpoint.getLocation().toString(); break; } } return logoutURL; }
/** * Given a binding uri, get the IDP identity url * * @param idp * @param bindingURI * * @return */ public static String getLogoutURL(IDPSSODescriptorType idp, String bindingURI) { String logoutURL = null; List<EndpointType> endpoints = idp.getSingleLogoutService(); for (EndpointType endpoint : endpoints) { if (endpoint.getBinding().toString().equals(bindingURI)) { logoutURL = endpoint.getLocation().toString(); break; } } return logoutURL; }
/** * Given a binding uri, get the IDP logout response url (used for global logouts) */ public static String getLogoutResponseLocation(IDPSSODescriptorType idp, String bindingURI) { String logoutResponseLocation = null; List<EndpointType> endpoints = idp.getSingleLogoutService(); for (EndpointType endpoint : endpoints) { if (endpoint.getBinding().toString().equals(bindingURI)) { if (endpoint.getResponseLocation() != null) { logoutResponseLocation = endpoint.getResponseLocation().toString(); } else { logoutResponseLocation = null; } break; } } return logoutResponseLocation; }
/** * Given a binding uri, get the IDP logout response url (used for global logouts) */ public static String getLogoutResponseLocation(IDPSSODescriptorType idp, String bindingURI) { String logoutResponseLocation = null; List<EndpointType> endpoints = idp.getSingleLogoutService(); for (EndpointType endpoint : endpoints) { if (endpoint.getBinding().toString().equals(bindingURI)) { if (endpoint.getResponseLocation() != null) { logoutResponseLocation = endpoint.getResponseLocation().toString(); } else { logoutResponseLocation = null; } break; } } return logoutResponseLocation; }
/** * Given a binding uri, get the IDP logout response url (used for global logouts) * */ public static String getLogoutResponseLocation(IDPSSODescriptorType idp, String bindingURI) { String logoutResponseLocation = null; List<EndpointType> endpoints = idp.getSingleLogoutService(); for (EndpointType endpoint : endpoints) { if (endpoint.getBinding().toString().equals(bindingURI)) { if(endpoint.getResponseLocation() != null) { logoutResponseLocation = endpoint.getResponseLocation().toString(); } else { logoutResponseLocation = null; } break; } } return logoutResponseLocation; }
.getSingleSignOnService())); services.put(SamlProfile.SINGLE_LOGOUT, new SamlService(SamlProfile.SINGLE_LOGOUT, IDPSSODescriptor .getSingleLogoutService()));
List<EndpointType> sloServices = idpSSODescriptor.getSingleLogoutService(); for (EndpointType endpoint : sloServices)
List<EndpointType> sloServices = idpSSODescriptor.getSingleLogoutService(); for (EndpointType endpoint : sloServices) { writeSingleLogoutService(endpoint);
List<EndpointType> sloServices = idpSSODescriptor.getSingleLogoutService(); for (EndpointType endpoint : sloServices) { writeSingleLogoutService(endpoint);
List<EndpointType> sloServices = idpSSODescriptor.getSingleLogoutService(); for (EndpointType endpoint : sloServices) { writeSingleLogoutService(endpoint);
List<EndpointType> sloServices = idpSSODescriptor.getSingleLogoutService(); for (EndpointType endpoint : sloServices)