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.GSSName
NT_ANONYMOUS, NT_EXPORT_NAME, NT_HOSTBASED_SERVICE, NT_MACHINE_UID_NAME, NT_STRING_UID_NAME, NT_USER_NAME
-
-
Constructor Summary
Constructors Constructor Description StubGSSName(String name, Oid oid)
-
Method Summary
All 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
-
equals
public boolean equals(GSSName another) throws GSSException
- Specified by:
equalsin interfaceGSSName- Throws:
GSSException
-
canonicalize
public GSSName canonicalize(Oid mech) throws GSSException
- Specified by:
canonicalizein interfaceGSSName- Throws:
UnsupportedOperationException- always throws because not implementedGSSException
-
export
public byte[] export() throws GSSException- Specified by:
exportin interfaceGSSName- Throws:
UnsupportedOperationException- always throws because not implementedGSSException
-
getStringNameType
public Oid getStringNameType() throws GSSException
- Specified by:
getStringNameTypein interfaceGSSName- Throws:
GSSException
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymousin interfaceGSSName- Throws:
UnsupportedOperationException- always throws because not implemented
-
isMN
public boolean isMN()
- Specified by:
isMNin interfaceGSSName- Throws:
UnsupportedOperationException- always throws because not implemented
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object another)
-
-