@Controller(value="samlMetadataController")
public class SamlMetadataController
extends java.lang.Object
SamlMetadataController will attempt
to produce saml metadata for CAS as an identity provider.| Constructor and Description |
|---|
SamlMetadataController(SamlIdpMetadataAndCertificatesGenerationService metadataAndCertificatesGenerationService)
Instantiates a new Saml metadata controller.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateMetadataForIdp(javax.servlet.http.HttpServletResponse response)
Displays the identity provider metadata.
|
void |
postConstruct()
Post constructor placeholder for additional
extensions.
|
public SamlMetadataController(SamlIdpMetadataAndCertificatesGenerationService metadataAndCertificatesGenerationService)
metadataAndCertificatesGenerationService - the metadata and certificates generation service@PostConstruct public void postConstruct()
@GetMapping(path="/idp/metadata")
public void generateMetadataForIdp(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
response - servlet responsejava.io.IOException - the iO exception