Class OAuthClientAuthorizationServiceImpl
java.lang.Object
com.skava.auth.service.impl.outhclient.OAuthClientAuthorizationServiceImpl
- All Implemented Interfaces:
OAuthClientAuthorizationService
,com.skava.core.EcommService<AuthorizationRequestVO,
AuthorizationResponseVO>
@Service
@Transactional
public class OAuthClientAuthorizationServiceImpl
extends Object
implements OAuthClientAuthorizationService
This service class implements OAuthClientAuthorizationService and handles the client application's
authorize request and return the id_token of the user when the user has valid session.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(AuthorizationRequestVO input) process.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator
-
Constructor Details
-
OAuthClientAuthorizationServiceImpl
public OAuthClientAuthorizationServiceImpl()The class constructor.
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<AuthorizationRequestVO,
AuthorizationResponseVO>
-
process
@SendEvent(eventType="authservice/oauthclient/authorization", identifier="request_sessionId") public AuthorizationResponseVO process(AuthorizationRequestVO input) process.
This method is used to process the client application's authorize request. This will return the response contains the id_token of the user who has a valid session. For response type token it will return sessionid and for response type code it will return clientid_issuetime which can be used for future reference.
- Specified by:
process
in interfacecom.skava.core.EcommService<AuthorizationRequestVO,
AuthorizationResponseVO> - Parameters:
input
- aAuthorizationRequestVO
object.- Returns:
- a
AuthorizationResponseVO
object. a create collection response with created collection info for valid collection request.
-