Class AppPortalOAuthAppMgtListener
- java.lang.Object
-
- org.wso2.identity.apps.common.listner.AppPortalOAuthAppMgtListener
-
- All Implemented Interfaces:
org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
public class AppPortalOAuthAppMgtListener extends Object implements org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
App portal OAuth application management listener.
-
-
Constructor Summary
Constructors Constructor Description AppPortalOAuthAppMgtListener(boolean enabled)Constructor for app portal OAuth application management listener with enabled flag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoPreRemoveOAuthApplicationData(String consumerKey)voiddoPreUpdateConsumerApplication(org.wso2.carbon.identity.oauth.dto.OAuthConsumerAppDTO oAuthConsumerAppDTO)voiddoPreUpdateConsumerApplicationState(String consumerKey, String newState)intgetExecutionOrder()booleanisEnabled()
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceorg.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
-
getExecutionOrder
public int getExecutionOrder()
- Specified by:
getExecutionOrderin interfaceorg.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
-
doPreUpdateConsumerApplication
public void doPreUpdateConsumerApplication(org.wso2.carbon.identity.oauth.dto.OAuthConsumerAppDTO oAuthConsumerAppDTO) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException- Specified by:
doPreUpdateConsumerApplicationin interfaceorg.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener- Throws:
org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
-
doPreUpdateConsumerApplicationState
public void doPreUpdateConsumerApplicationState(String consumerKey, String newState) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
- Specified by:
doPreUpdateConsumerApplicationStatein interfaceorg.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener- Throws:
org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
-
doPreRemoveOAuthApplicationData
public void doPreRemoveOAuthApplicationData(String consumerKey) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
- Specified by:
doPreRemoveOAuthApplicationDatain interfaceorg.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener- Throws:
org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
-
-