Package org.openiam.rest
Class AuthenticationRestController
- java.lang.Object
-
- org.openiam.srvc.AbstractApiService
-
- org.openiam.rest.AuthenticationRestController
-
@RestController @RequestMapping(value="/auth/", produces="application/json") public class AuthenticationRestController extends AbstractApiService
Used by the OpenIAM proxy for Kerberos and Cert authenticationDo *not* modify without talking to the entire team
- Author:
- Lev Bornovalov
-
-
Field Summary
-
Fields inherited from class org.openiam.srvc.AbstractApiService
applicationContext, log, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRestController(AuthenticationQueue queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResponse
login(AuthenticationRequest request)
Response
renewToken(String principal, String token, String patternId)
-
Methods inherited from class org.openiam.srvc.AbstractApiService
broadcast, crudRequest, getBooleanValue, getIntValue, getIntValue, getRabbitMqQueue, getResponse, getResponse, getValue, getValue, getValueList, getValueList, idRequest, manageApiRequest, manageApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, membershipRequestProcessing, membershipRequestProcessing, publish, publish, sendAsync, sendAsync
-
-
-
-
Constructor Detail
-
AuthenticationRestController
@Autowired public AuthenticationRestController(AuthenticationQueue queue)
-
-
Method Detail
-
login
@RequestMapping(value="/login", method=POST) @ResponseBody public AuthenticationResponse login(@RequestBody AuthenticationRequest request)
-
-