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 GSSName
canonicalize(Oid mech)
boolean
equals(Object another)
boolean
equals(GSSName another)
byte[]
export()
Oid
getStringNameType()
int
hashCode()
boolean
isAnonymous()
boolean
isMN()
String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(GSSName another) throws GSSException
- Specified by:
equals
in interfaceGSSName
- Throws:
GSSException
-
canonicalize
public GSSName canonicalize(Oid mech) throws GSSException
- Specified by:
canonicalize
in interfaceGSSName
- Throws:
UnsupportedOperationException
- always throws because not implementedGSSException
-
export
public byte[] export() throws GSSException
- Specified by:
export
in interfaceGSSName
- Throws:
UnsupportedOperationException
- always throws because not implementedGSSException
-
getStringNameType
public Oid getStringNameType() throws GSSException
- Specified by:
getStringNameType
in interfaceGSSName
- Throws:
GSSException
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous
in interfaceGSSName
- Throws:
UnsupportedOperationException
- always throws because not implemented
-
isMN
public boolean isMN()
- Specified by:
isMN
in interfaceGSSName
- Throws:
UnsupportedOperationException
- always throws because not implemented
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object another)
-
-