Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.common.policy.runtime
Class RuntimeResource

java.lang.Object
  extended by oracle.security.am.common.policy.runtime.RuntimeResource


public class RuntimeResource
extends java.lang.Object

RuntimeResource represents a resource that is being accessed by a user.

Since:
11gR1

Field Summary
static java.lang.String OPERATION_ISSUE
          Issue operation pertaining to a resource of type Token Service Relying Party.
protected  java.lang.String queryString
           
static java.lang.String RES_TYPE_HTTP
          HTTP resource type name.
static java.lang.String RES_TYPE_TOKEN_SERVICE_RP
          Token Service Relying Party resource type name.

 

Constructor Summary
RuntimeResource(RuntimeResource another)
          Constructs a new resource from another resource.
RuntimeResource(java.lang.String resourceURL, java.lang.String host, int port)
          Constructs a new HTTP resource with the given resource URL.
RuntimeResource(java.lang.String resourceType, java.lang.String resourceURL, java.lang.String operation)
          Constructs a new resource with the given resource type, URL and operation.
RuntimeResource(java.lang.String resourceURL, java.lang.String queryString, java.lang.String host, int port)
          Constructs a new HTTP-typed resource, with the request URL parsed into its various components.
RuntimeResource(java.lang.String resourceName, java.lang.String resourceType, java.lang.String resourceURL, java.lang.String host, int port)
           
RuntimeResource(java.lang.String resourceName, java.lang.String resourceType, java.lang.String resourceURL, java.lang.String operation, java.lang.String host, int port)
          Constructs a new resource with the given resource name, type, URL and operation.
RuntimeResource(java.lang.String resourceName, java.lang.String resourceType, java.lang.String resourceURL, java.lang.String queryString, java.lang.String operation, java.lang.String host, int port)
          Constructs a new resource with the given resource name, type, URL and operation.

 

Method Summary
 java.lang.String getHost()
          Return host name
 java.lang.String getOperation()
          Returns the operation to be performed on resource.
 int getPort()
          Returns port number.
 java.lang.String getQueryString()
          Returns query string.
 java.lang.String getResourceName()
          Returns the Resource Name.
 java.lang.String getResourceType()
          Returns the type of resource.
 java.lang.String getResourceURL()
          Returns resource URL representation.
 int hashCode()
           
 java.lang.String toString()
          Returns a string representation of the resource

 

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

 

Field Detail

RES_TYPE_HTTP

public static final java.lang.String RES_TYPE_HTTP
HTTP resource type name.
Since:
11gR1PS1
See Also:
Constant Field Values

RES_TYPE_TOKEN_SERVICE_RP

public static final java.lang.String RES_TYPE_TOKEN_SERVICE_RP
Token Service Relying Party resource type name.
Since:
11gR1PS1
See Also:
Constant Field Values

OPERATION_ISSUE

public static final java.lang.String OPERATION_ISSUE
Issue operation pertaining to a resource of type Token Service Relying Party.
Since:
11gR1PS1
See Also:
Constant Field Values

queryString

protected java.lang.String queryString

Constructor Detail

RuntimeResource

public RuntimeResource(RuntimeResource another)
Constructs a new resource from another resource.
Parameters:
another - An existing resource.

RuntimeResource

public RuntimeResource(java.lang.String resourceName,
                       java.lang.String resourceType,
                       java.lang.String resourceURL,
                       java.lang.String operation,
                       java.lang.String host,
                       int port)
Constructs a new resource with the given resource name, type, URL and operation.
Parameters:
resourceName - The resource name string.
resourceType - The type of the resource.
resourceURL - The URL of the resource, in URL-encoded form.
operation - Operation on the resource.
host - Preferred host name.
port - Port number. Port value of 0 indicates the host is a preferred host.

RuntimeResource

public RuntimeResource(java.lang.String resourceType,
                       java.lang.String resourceURL,
                       java.lang.String operation)
Constructs a new resource with the given resource type, URL and operation.
Parameters:
resourceType - The type of the resource.
resourceURL - The URL of the resource, in URL-encoded form.
operation - Operation on the resource.
Since:
11gR1PS1

RuntimeResource

public RuntimeResource(java.lang.String resourceName,
                       java.lang.String resourceType,
                       java.lang.String resourceURL,
                       java.lang.String queryString,
                       java.lang.String operation,
                       java.lang.String host,
                       int port)
Constructs a new resource with the given resource name, type, URL and operation.
Parameters:
resourceName - The resource name string.
resourceType - The type of the resource.
resourceURL - The relative path portion of the URL, in URL-encoded form.
queryString - The query string portion of the URL, in URL-encoded form.
operation - Operation on the resource.
host - Host name.
port - Port number. A value of 0 indicates the host is a preferred host string.

RuntimeResource

public RuntimeResource(java.lang.String resourceURL,
                       java.lang.String host,
                       int port)
Constructs a new HTTP resource with the given resource URL.
See Also:
RuntimeResource(String,String,String,String,String,int)

RuntimeResource

public RuntimeResource(java.lang.String resourceName,
                       java.lang.String resourceType,
                       java.lang.String resourceURL,
                       java.lang.String host,
                       int port)
See Also:
RuntimeResource(String,String,String,String,String,int)

RuntimeResource

public RuntimeResource(java.lang.String resourceURL,
                       java.lang.String queryString,
                       java.lang.String host,
                       int port)
Constructs a new HTTP-typed resource, with the request URL parsed into its various components.
Since:
11gR1PS1
See Also:
RuntimeResource(String,String,String,String,String,int)

Method Detail

getQueryString

public java.lang.String getQueryString()
Returns query string.
Returns:
query string.
Since:
11gR1PS1

toString

public java.lang.String toString()
Returns a string representation of the resource
Overrides:
toString in class java.lang.Object
Returns:
String string representation of the resource

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getResourceName

public java.lang.String getResourceName()
Returns the Resource Name.
Returns:
resource name.

getOperation

public java.lang.String getOperation()
Returns the operation to be performed on resource.
Returns:
operation on resource.

getResourceType

public java.lang.String getResourceType()
Returns the type of resource.
Returns:
resource type

getResourceURL

public java.lang.String getResourceURL()
Returns resource URL representation.
Returns:
resource URL.

getHost

public java.lang.String getHost()
Return host name
Returns:
host name.

getPort

public int getPort()
Returns port number.
Returns:
port number.

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


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