org.springframework.security.saml.SAMLConstants Java Examples
The following examples show how to use
org.springframework.security.saml.SAMLConstants.
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: SAMLConfigurer.java From spring-security-saml-dsl with MIT License | 5 votes |
private void bootstrap() { try { PaosBootstrap.bootstrap(); } catch (ConfigurationException e) { e.printStackTrace(); } NamedKeyInfoGeneratorManager manager = Configuration.getGlobalSecurityConfiguration().getKeyInfoGeneratorManager(); X509KeyInfoGeneratorFactory generator = new X509KeyInfoGeneratorFactory(); generator.setEmitEntityCertificate(true); generator.setEmitEntityCertificateChain(true); manager.registerFactory(SAMLConstants.SAML_METADATA_KEY_INFO_GENERATOR, generator); }
Example #2
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }
Example #3
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }
Example #4
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }
Example #5
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }
Example #6
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }
Example #7
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }
Example #8
Source File: IdPSelectionController.java From spring-boot-security-saml-samples with MIT License | 4 votes |
private boolean comesFromDiscoveryFilter(HttpServletRequest request) { return request.getAttribute(SAMLConstants.LOCAL_ENTITY_ID) != null && request.getAttribute(SAMLDiscovery.RETURN_URL) != null && request.getAttribute(SAMLDiscovery.RETURN_PARAM) != null; }