krb5.lib
Class ServiceName

java.lang.Object
  extended by krb5.lib.PrincipalName
      extended by krb5.lib.ServiceName
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ServiceName
extends PrincipalName
implements java.io.Serializable

Class Description : ServiceName class. A modified version of the code obtained from the Open Group Research Institute.

Version:
1.1
Author:
Bojan Pajkovski
See Also:
Serialized Form

Constructor Summary
ServiceName(java.lang.String name)
          Class constructor
ServiceName(java.lang.String name, java.lang.String realm)
          Class constructor
 
Method Summary
 
Methods inherited from class krb5.lib.PrincipalName
clone, equals, equalsWithoutRealm, getNameString, getNameStrings, getNameType, getRealm, getRealmString, setRealm, setRealm, toByteArray, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceName

public ServiceName(java.lang.String name)
            throws RealmException
Class constructor

Parameters:
name - String
Throws:
RealmException
See Also:
String, RealmException

ServiceName

public ServiceName(java.lang.String name,
                   java.lang.String realm)
            throws RealmException
Class constructor

Parameters:
name - String
realm - String
Throws:
RealmException
See Also:
String, RealmException