Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


oracle.ocsg.oauth2.management
Class SouthOAuthManagmentImpl

java.lang.Object
  extended byoracle.ocsg.oauth2.management.SouthOAuthManagmentImpl

All Implemented Interfaces:
EventChannelListener, Remote, SouthOAuth2Remote, SouthOAuthManagment

public class SouthOAuthManagmentImpl
extends Object
implements SouthOAuthManagment, EventChannelListener

Field Summary

 

Fields inherited from interface oracle.ocsg.oauth2.management.SouthOAuth2Remote
JNDI_NAME

 

Constructor Summary
SouthOAuthManagmentImpl()
           

 

Method Summary
 void addSouthOAuth2Config(String serviceUri, SouthOAuth2Config oAuth2Config)
           
 SouthOAuth2Config deleteSouthOAuth2Config(String serviceUri)
           
static SouthOAuthManagment getInstance()
           
 SouthOAuth2Config getSouthOAuth2Config(String serviceUri)
           
 void initSouthOAuth2Config(Map oAuth2ConfigMap)
           
 boolean isSouthOAuth2(String serviceUri)
          Return whether the south bound security is OAuth2
 void processEvent(String eventType, Serializable event, String source)
          Called by the EventChannel when a new event has arrived.
 void register()
           
 void unregister()
           
 String validateAllowedRedirectURI(String clientId, String redirectUri)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SouthOAuthManagmentImpl

public SouthOAuthManagmentImpl()

Method Detail

addSouthOAuth2Config

public void addSouthOAuth2Config(String serviceUri,
                                 SouthOAuth2Config oAuth2Config)
Specified by:
addSouthOAuth2Config in interface SouthOAuthManagment

deleteSouthOAuth2Config

public SouthOAuth2Config deleteSouthOAuth2Config(String serviceUri)
Specified by:
deleteSouthOAuth2Config in interface SouthOAuthManagment

getInstance

public static SouthOAuthManagment getInstance()

getSouthOAuth2Config

public SouthOAuth2Config getSouthOAuth2Config(String serviceUri)
Description copied from interface: SouthOAuth2Remote
Get the South-bound OAuth2 Security configuration
Specified by:
getSouthOAuth2Config in interface SouthOAuth2Remote
Parameters:
serviceUri - the request service uri
Returns:
the southbound OAuth2 config info

initSouthOAuth2Config

public void initSouthOAuth2Config(Map oAuth2ConfigMap)
Specified by:
initSouthOAuth2Config in interface SouthOAuthManagment

isSouthOAuth2

public boolean isSouthOAuth2(String serviceUri)
Description copied from interface: SouthOAuth2Remote
Return whether the south bound security is OAuth2
Specified by:
isSouthOAuth2 in interface SouthOAuth2Remote
Parameters:
serviceUri - the request service uri
Returns:
boolean that whether the south bound security is OAuth2

processEvent

public void processEvent(String eventType,
                         Serializable event,
                         String source)
Description copied from interface: EventChannelListener
Called by the EventChannel when a new event has arrived.
Specified by:
processEvent in interface EventChannelListener
Parameters:
eventType - A string representing the type of the event.
event - The event.
source - Service instance name of sender.

register

public void register()
              throws NamingException
Specified by:
register in interface SouthOAuthManagment
Throws:
NamingException

unregister

public void unregister()
Specified by:
unregister in interface SouthOAuthManagment

validateAllowedRedirectURI

public String validateAllowedRedirectURI(String clientId,
                                         String redirectUri)
                                  throws ManagementException
Description copied from interface: SouthOAuth2Remote
Return the redirect uri which is allowed uri of this client
Specified by:
validateAllowedRedirectURI in interface SouthOAuthManagment
Throws:
ManagementException

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.