Package net.sf.michaelo.tomcat.realm
Class StubGSSName
- java.lang.Object
- 
- net.sf.michaelo.tomcat.realm.StubGSSName
 
- 
- All Implemented Interfaces:
- GSSName
 
 public class StubGSSName extends Object implements GSSName Stub GSS name implementation to merely transport a name with its string name type. This class is not intended to be used in real with theGSSManager.
- 
- 
Field Summary- 
Fields inherited from interface org.ietf.jgss.GSSNameNT_ANONYMOUS, NT_EXPORT_NAME, NT_HOSTBASED_SERVICE, NT_MACHINE_UID_NAME, NT_STRING_UID_NAME, NT_USER_NAME
 
- 
 - 
Constructor SummaryConstructors Constructor Description StubGSSName(String name, Oid oid)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GSSNamecanonicalize(Oid mech)booleanequals(Object another)booleanequals(GSSName another)byte[]export()OidgetStringNameType()inthashCode()booleanisAnonymous()booleanisMN()StringtoString()
 
- 
- 
- 
Method Detail- 
equalspublic boolean equals(GSSName another) throws GSSException - Specified by:
- equalsin interface- GSSName
- Throws:
- GSSException
 
 - 
canonicalizepublic GSSName canonicalize(Oid mech) throws GSSException - Specified by:
- canonicalizein interface- GSSName
- Throws:
- UnsupportedOperationException- always throws because not implemented
- GSSException
 
 - 
exportpublic byte[] export() throws GSSException- Specified by:
- exportin interface- GSSName
- Throws:
- UnsupportedOperationException- always throws because not implemented
- GSSException
 
 - 
getStringNameTypepublic Oid getStringNameType() throws GSSException - Specified by:
- getStringNameTypein interface- GSSName
- Throws:
- GSSException
 
 - 
isAnonymouspublic boolean isAnonymous() - Specified by:
- isAnonymousin interface- GSSName
- Throws:
- UnsupportedOperationException- always throws because not implemented
 
 - 
isMNpublic boolean isMN() - Specified by:
- isMNin interface- GSSName
- Throws:
- UnsupportedOperationException- always throws because not implemented
 
 - 
hashCodepublic int hashCode() 
 - 
equalspublic boolean equals(Object another) 
 
- 
 
-