Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.callback
Class ResourceCallback

java.lang.Object
  extended by oracle.security.jps.callback.ResourceCallback

All Implemented Interfaces:
javax.security.auth.callback.Callback, JpsCallback

public class ResourceCallback
extends java.lang.Object
implements JpsCallback

This class is to pass the resource URL and optional resource type and resource operation to the Access Management Systems like OAM The default resource type used is "http" The default resource operation used is "GET"


Constructor Summary
ResourceCallback()
          Construct empty reosurce callback object
ResourceCallback(java.lang.String resourceURL)
          Construct reosurce callback object with given OAM resource The default resource type will be http and default resource operation will be GET
ResourceCallback(java.lang.String resourceURL, java.lang.String resourceType, java.lang.String resourceOperation)
          Construct reosurce callback object with given OAM resource

 

Method Summary
 JpsCallbackType getCallbackType()
          Returns the type of this callback defined by JpsCallbackType
 java.lang.String getResourceOperation()
          Returns the current OAM resource operation like GET, POST etc
 java.lang.String getResourceType()
          Returns the current OAM resource type like http, ejb etc
 java.lang.String getResourceURL()
          Returns the current OAM resource url
 void setResourceOperation(java.lang.String resourceOperation)
          Sets the OAM resource operation like GET, POST etc
 void setResourceType(java.lang.String resourceType)
          Sets the OAM resource type like http, ejb etc
 void setResourceURL(java.lang.String resourceURL)
          Sets the OAM resource url

 

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

 

Constructor Detail

ResourceCallback

public ResourceCallback()
Construct empty reosurce callback object

ResourceCallback

public ResourceCallback(java.lang.String resourceURL)
Construct reosurce callback object with given OAM resource The default resource type will be http and default resource operation will be GET
Parameters:
resourceURL - - the OAM resource url

ResourceCallback

public ResourceCallback(java.lang.String resourceURL,
                        java.lang.String resourceType,
                        java.lang.String resourceOperation)
Construct reosurce callback object with given OAM resource
Parameters:
resourceURL - - the OAM resource url
resourceType - - the OAM resource type. For example - http, ejb, <custom resource>
resourceOperation - - the OAM resource operation. For example for http resource type the possible operations are GET, POST, PUT, HEAD, DELETE, TRACE, OPTIONS, CONNECT, OTHER

Method Detail

setResourceURL

public void setResourceURL(java.lang.String resourceURL)
Sets the OAM resource url
Parameters:
resourceURL - - the OAM resource url

getResourceURL

public java.lang.String getResourceURL()
Returns the current OAM resource url
Returns:
- The OAM resource url

setResourceType

public void setResourceType(java.lang.String resourceType)
Sets the OAM resource type like http, ejb etc
Parameters:
resourceType - - the OAM resource type

getResourceType

public java.lang.String getResourceType()
Returns the current OAM resource type like http, ejb etc
Returns:
- The OAM resource type

setResourceOperation

public void setResourceOperation(java.lang.String resourceOperation)
Sets the OAM resource operation like GET, POST etc
Parameters:
resourceOperation - - the OAM resource operation

getResourceOperation

public java.lang.String getResourceOperation()
Returns the current OAM resource operation like GET, POST etc
Returns:
- The OAM resource operation

getCallbackType

public JpsCallbackType getCallbackType()
Returns the type of this callback defined by JpsCallbackType
Specified by:
getCallbackType in interface JpsCallback
Returns:
- the type of this callback defined by JpsCallbackType

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.