/** * Create a IDP SSO metadata descriptor * * @param requestsSigned * @param keyDescriptorType * @param ssoEndPoint * @param sloEndPoint * @param attributes * @param org * @return */ public static IDPSSODescriptorType createIDPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType ssoEndPoint, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org) { List<String> emptyList = new ArrayList<String>(); IDPSSODescriptorType idp = new IDPSSODescriptorType(emptyList); idp.addSingleSignOnService(ssoEndPoint); idp.addSingleLogoutService(sloEndPoint); for (AttributeType attr : attributes) { idp.addAttribute(attr); } idp.addKeyDescriptor(keyDescriptorType); idp.setWantAuthnRequestsSigned(requestsSigned); idp.setOrganization(org); return idp; }
/** * Create a IDP SSO metadata descriptor * * @param requestsSigned * @param keyDescriptorType * @param ssoEndPoint * @param sloEndPoint * @param attributes * @param org * * @return */ public static IDPSSODescriptorType createIDPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType ssoEndPoint, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org) { List<String> emptyList = new ArrayList<String>(); IDPSSODescriptorType idp = new IDPSSODescriptorType(emptyList); idp.addSingleSignOnService(ssoEndPoint); idp.addSingleLogoutService(sloEndPoint); for (AttributeType attr : attributes) { idp.addAttribute(attr); } idp.addKeyDescriptor(keyDescriptorType); idp.setWantAuthnRequestsSigned(requestsSigned); idp.setOrganization(org); return idp; }
/** * Create a IDP SSO metadata descriptor * * @param requestsSigned * @param keyDescriptorType * @param ssoEndPoint * @param sloEndPoint * @param attributes * @param org * * @return */ public static IDPSSODescriptorType createIDPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType ssoEndPoint, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org) { List<String> emptyList = new ArrayList<String>(); IDPSSODescriptorType idp = new IDPSSODescriptorType(emptyList); idp.addSingleSignOnService(ssoEndPoint); idp.addSingleLogoutService(sloEndPoint); for (AttributeType attr : attributes) { idp.addAttribute(attr); } idp.addKeyDescriptor(keyDescriptorType); idp.setWantAuthnRequestsSigned(requestsSigned); idp.setOrganization(org); return idp; }
/** * Create a IDP SSO metadata descriptor * @param requestsSigned * @param keyDescriptorType * @param ssoEndPoint * @param sloEndPoint * @param attributes * @param org * @return */ public static IDPSSODescriptorType createIDPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType ssoEndPoint, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org) { List<String> emptyList = new ArrayList<String>(); IDPSSODescriptorType idp = new IDPSSODescriptorType(emptyList); idp.addSingleSignOnService(ssoEndPoint); idp.addSingleLogoutService(sloEndPoint); for (AttributeType attr : attributes) { idp.addAttribute(attr); } idp.addKeyDescriptor(keyDescriptorType); idp.setWantAuthnRequestsSigned(requestsSigned); idp.setOrganization(org); return idp; }
/** * Create a IDP SSO metadata descriptor * @param requestsSigned * @param keyDescriptorType * @param ssoEndPoint * @param sloEndPoint * @param attributes * @param org * @return */ public static IDPSSODescriptorType createIDPSSODescriptor(boolean requestsSigned, KeyDescriptorType keyDescriptorType, EndpointType ssoEndPoint, EndpointType sloEndPoint, List<AttributeType> attributes, OrganizationType org) { List<String> emptyList = new ArrayList<String>(); IDPSSODescriptorType idp = new IDPSSODescriptorType(emptyList); idp.addSingleSignOnService(ssoEndPoint); idp.addSingleLogoutService(sloEndPoint); for (AttributeType attr : attributes) { idp.addAttribute(attr); } idp.addKeyDescriptor(keyDescriptorType); idp.setWantAuthnRequestsSigned(requestsSigned); idp.setOrganization(org); return idp; }
if (wantAuthnSigned != null) { idpSSODescriptor .setWantAuthnRequestsSigned(Boolean.parseBoolean(StaxParserUtil.getAttributeValue(wantAuthnSigned)));
if (wantAuthnSigned != null) { idpSSODescriptor .setWantAuthnRequestsSigned(Boolean.parseBoolean(StaxParserUtil.getAttributeValue(wantAuthnSigned)));
if (wantAuthnSigned != null) idpSSODescriptor.setWantAuthnRequestsSigned(Boolean.parseBoolean(StaxParserUtil .getAttributeValue(wantAuthnSigned)));
if (wantAuthnSigned != null) idpSSODescriptor.setWantAuthnRequestsSigned(Boolean.parseBoolean(StaxParserUtil .getAttributeValue(wantAuthnSigned)));
if (wantAuthnSigned != null) { idpSSODescriptor .setWantAuthnRequestsSigned(Boolean.parseBoolean(StaxParserUtil.getAttributeValue(wantAuthnSigned)));