Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.service
Class KerberosServiceResource

    java.lang.Object
      weblogic.security.service.KerberosServiceResource

All Implemented Interfaces:
  Serializable, Resource

    public class KerberosServiceResource

extends Object
implements Resource

The `KerberosServiceResource` is used by the customer to define a resource for Kerberos service.

The `toString` method should return the Kerberos service name presented as "service@host".

See Also:
  Serialized Form

Constructor Summary
`KerberosServiceResource(String serviceName)` Constructor for KerberosServiceResource.

Method Summary
`long` | `getID()` Gets a 64-bit hashcode for a resource.
`String[]` | `getKeys()` Gets keys for the resource.
`Resource` | `getParentResource()` Gets a `Resource` object that represents the parent of the current resource.
`String` | `getType()` Gets the type of this resource.
`String[]` | `getValues()` Gets the values corresponding to the keys of this resource's type.
`String` | `toString()` Returns a string representation of this resource.

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

Methods inherited from interface weblogic.security.spi.Resource
`equals, hashCode`

Constructor Detail

### KerberosServiceResource

    public KerberosServiceResource(String serviceName)

  Constructor for KerberosServiceResource.

  Parameters:
    `serviceName` - Kerberos service name presented as "service@host"

Method Detail

### getID

    public long getID()

  Description copied from interface: `Resource`
  Gets a 64-bit hashcode for a resource.

  Specified by:
    `getID` in interface `Resource`
  Returns:
    the ID value for the resource, represented as a long.

### getKeys

    public String[] getKeys()

  Description copied from interface: `Resource`
  Gets keys for the resource.

  Specified by:
    `getKeys` in interface `Resource`
  Returns:
    an array of Strings containing the resource's keys.

### getParentResource

    public Resource getParentResource()

  Description copied from interface: `Resource`
  Gets a `Resource` object that represents the parent of the current resource. If the resource does not have a parent, the value of `null` must be returned.

  Specified by:
    `getParentResource` in interface `Resource`
  Returns:
    the `Resource` object of the parent resource.

### getType

    public String getType()

  Description copied from interface: `Resource`
  Gets the type of this resource.

  Specified by:
    `getType` in interface `Resource`
  Returns:
    the type of this resource, represented as a String.

### getValues

    public String[] getValues()

  Description copied from interface: `Resource`
  Gets the values corresponding to the keys of this resource's type. This array may be shorter than the array returned by `getKeys` because the latter depends only on the type of the resource.

  Specified by:
    `getValues` in interface `Resource`
  Returns:
    an array of Strings representing the keys' values for this resource type.

### toString

    public String toString()

  Description copied from interface: `Resource`
  Returns a string representation of this resource.

  Specified by:
    `toString` in interface `Resource`
  Overrides:
    `toString` in class `Object`
  Returns:
    the resource, represented as a String.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD