public class KerberosServiceResource extends Object implements Resource
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".
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
public long getID()
Resourcepublic String[] getKeys()
Resourcepublic Resource getParentResource()
ResourceResource object that represents the parent of the current
 resource. If the resource does not have a parent, the value of
 null must be returned.getParentResource in interface ResourceResource object of the parent resource.public String getType()
Resourcepublic String[] getValues()
ResourcegetKeys because the latter depends only on the type of the
 resource.