Skip navigation links
oracle.ocsg.oauth2.management
Class SouthOAuthManagmentImpl
java.lang.Object
oracle.ocsg.oauth2.management.SouthOAuthManagmentImpl
- All Implemented Interfaces:
- EventChannelListener, Remote, SouthOAuth2Remote, SouthOAuthManagment
- public class SouthOAuthManagmentImpl
- extends Object
- implements SouthOAuthManagment, EventChannelListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SouthOAuthManagmentImpl
public SouthOAuthManagmentImpl()
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
Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.