Package org.apereo.cas.aws
Class AmazonSecurityTokenServiceEndpoint
- java.lang.Object
-
- org.apereo.cas.web.BaseCasActuatorEndpoint
-
- org.apereo.cas.aws.AmazonSecurityTokenServiceEndpoint
-
@RestControllerEndpoint(id="awsSts", enableByDefault=false) public class AmazonSecurityTokenServiceEndpoint extends org.apereo.cas.web.BaseCasActuatorEndpointThis isAmazonSecurityTokenServiceEndpoint.- Since:
- 6.4.0
-
-
Constructor Summary
Constructors Constructor Description AmazonSecurityTokenServiceEndpoint(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.rest.authentication.RestAuthenticationService restAuthenticationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<java.lang.String>fetchCredentials(java.lang.String duration, java.lang.String tokenCode, java.lang.String profile, java.lang.String serialNumber, java.lang.String roleArn, org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> requestBody, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Fetch credentials.
-
-
-
Method Detail
-
fetchCredentials
@PostMapping public org.springframework.http.ResponseEntity<java.lang.String> fetchCredentials(@RequestParam(required=false,defaultValue="PT1H") java.lang.String duration, @RequestParam(value="token",required=false) java.lang.String tokenCode, @RequestParam(required=false) java.lang.String profile, @RequestParam(required=false) java.lang.String serialNumber, @RequestParam(required=false) java.lang.String roleArn, @RequestBody org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> requestBody, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Fetch credentials.- Parameters:
duration- the durationtokenCode- the token codeprofile- the profileserialNumber- the serial numberroleArn- the role arnrequestBody- the request bodyrequest- the requestresponse- the response- Returns:
- the map
-
-