Interface OAuth20Mediator
- 
 public interface OAuth20MediatorThis interface is used as a callback during the OAuth20 processing to perform customized post processing.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(OAuthComponentConfiguration config)This method is called by a factory when an instance of this object is created.voidmediateAuthorize(AttributeList attributeList)This method is called by the core component after basic message validation and processing to allow any post custom processing by the component consumer in processAuthorization method.voidmediateAuthorizeException(AttributeList attributeList, OAuthException exception)This method is called by the core component when protocol exception happens to allow any post custom processing by the component consumer in processAuthorization method.voidmediateResource(AttributeList attributeList)This method is called by the core component after basic message validation and processing to allow any post custom processing by the component consumer in processResourceRequest method.voidmediateResourceException(AttributeList attributeList, OAuthException exception)This method is called by the core component when protocol exception happens to allow any post custom processing by the component consumer in processResourceRequest method.voidmediateToken(AttributeList attributeList)This method is called by the core component after basic message validation and processing to allow any post custom processing by the component consumer in processTokenRequest method.voidmediateTokenException(AttributeList attributeList, OAuthException exception)This method is called by the core component when protocol exception happens to allow any post custom processing by the component consumer in processTokenRequest method.
 
- 
- 
- 
Method Detail- 
initvoid init(OAuthComponentConfiguration config) This method is called by a factory when an instance of this object is created. The configuration object will allow the mediator to initialize itself.- Parameters:
- config- Configuration entity for the component instance
 
 - 
mediateAuthorizevoid mediateAuthorize(AttributeList attributeList) throws OAuth20MediatorException This method is called by the core component after basic message validation and processing to allow any post custom processing by the component consumer in processAuthorization method.- Parameters:
- attributeList- provides the attributes related to the flow
- Throws:
- OAuth20MediatorException
 
 - 
mediateTokenvoid mediateToken(AttributeList attributeList) throws OAuth20MediatorException This method is called by the core component after basic message validation and processing to allow any post custom processing by the component consumer in processTokenRequest method.- Parameters:
- attributeList- provides the attributes related to the flow
- Throws:
- OAuth20MediatorException
 
 - 
mediateResourcevoid mediateResource(AttributeList attributeList) throws OAuth20MediatorException This method is called by the core component after basic message validation and processing to allow any post custom processing by the component consumer in processResourceRequest method.- Parameters:
- attributeList- provides the attributes related to the flow
- Throws:
- OAuth20MediatorException
 
 - 
mediateAuthorizeExceptionvoid mediateAuthorizeException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException This method is called by the core component when protocol exception happens to allow any post custom processing by the component consumer in processAuthorization method.- Parameters:
- attributeList- provides the attributes related to the flow
- exception- OAuth protocol exception
- Throws:
- OAuth20MediatorException
 
 - 
mediateTokenExceptionvoid mediateTokenException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException This method is called by the core component when protocol exception happens to allow any post custom processing by the component consumer in processTokenRequest method.- Parameters:
- attributeList- provides the attributes related to the flow
- exception- OAuth protocol exception
- Throws:
- OAuth20MediatorException
 
 - 
mediateResourceExceptionvoid mediateResourceException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException This method is called by the core component when protocol exception happens to allow any post custom processing by the component consumer in processResourceRequest method.- Parameters:
- attributeList- provides the attributes related to the flow
- exception- OAuth protocol exception
- Throws:
- OAuth20MediatorException
 
 
- 
 
-