Class SamlIdPMetadataController
- java.lang.Object
-
- org.apereo.cas.support.saml.web.idp.metadata.SamlIdPMetadataController
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Controller("samlIdPMetadataController") public class SamlIdPMetadataController extends java.lang.Object implements org.springframework.beans.factory.InitializingBeanTheSamlIdPMetadataControllerwill attempt to produce saml metadata for CAS as an identity provider.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description SamlIdPMetadataController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidgenerateMetadataForIdp(javax.servlet.http.HttpServletResponse response)Displays the identity provider metadata.
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
generateMetadataForIdp
@GetMapping(path="/idp/metadata") public void generateMetadataForIdp(javax.servlet.http.HttpServletResponse response) throws java.io.IOExceptionDisplays the identity provider metadata. Checks to make sure metadata exists, and if not, generates it first.- Parameters:
response- servlet response- Throws:
java.io.IOException- the iO exception
-
-