|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.gsi.gssapi.GlobusGSSName
public class GlobusGSSName
An implementation of GSSName.
| Field Summary | |
|---|---|
protected java.lang.String |
globusID
|
protected java.lang.String |
hostBasedServiceCN
|
protected javax.security.auth.x500.X500Principal |
name
|
protected org.ietf.jgss.Oid |
nameType
|
| 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 | |
|---|---|
GlobusGSSName()
|
|
GlobusGSSName(byte[] name)
|
|
GlobusGSSName(java.lang.String name)
Creates name from Globus DN |
|
GlobusGSSName(java.lang.String name,
org.ietf.jgss.Oid nameType)
Creates name from X509 name of specified type. |
|
GlobusGSSName(javax.security.auth.x500.X500Principal name)
|
|
| Method Summary | |
|---|---|
org.ietf.jgss.GSSName |
canonicalize(org.ietf.jgss.Oid mech)
Currently not implemented. |
boolean |
equals(org.ietf.jgss.GSSName another)
|
byte[] |
export()
Currently not implemented. |
protected java.lang.String |
getHostBasedServiceCN(boolean last)
Returns the CN corresponding to the host part of the DN |
org.ietf.jgss.Oid |
getStringNameType()
Currently not implemented. |
boolean |
isAnonymous()
|
boolean |
isMN()
|
java.lang.String |
toString()
Returns globus ID string representation of the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ietf.jgss.GSSName |
|---|
equals, hashCode |
| Field Detail |
|---|
protected org.ietf.jgss.Oid nameType
protected javax.security.auth.x500.X500Principal name
protected java.lang.String globusID
protected java.lang.String hostBasedServiceCN
| Constructor Detail |
|---|
public GlobusGSSName()
public GlobusGSSName(javax.security.auth.x500.X500Principal name)
public GlobusGSSName(byte[] name)
public GlobusGSSName(java.lang.String name)
throws org.ietf.jgss.GSSException
name - Globus DN (e.g. /C=US/O=Globus/..) If null
it is considered set as GSSName.ANONYMOUS name type.
org.ietf.jgss.GSSException
public GlobusGSSName(java.lang.String name,
org.ietf.jgss.Oid nameType)
throws org.ietf.jgss.GSSException
name - Globus DN (e.g. /C=US/O=Globus/..) or service@host name. If null
it is considered set as GSSName.ANONYMOUS name type.nameType - name type. Only GSSName.NT_ANONYMOUS
or GSSName.NT_HOSTBASED_SERVICE is supported.
Maybe be null.
org.ietf.jgss.GSSException| Method Detail |
|---|
public boolean isAnonymous()
isAnonymous in interface org.ietf.jgss.GSSNamepublic boolean isMN()
isMN in interface org.ietf.jgss.GSSName
public boolean equals(org.ietf.jgss.GSSName another)
throws org.ietf.jgss.GSSException
equals in interface org.ietf.jgss.GSSNameorg.ietf.jgss.GSSExceptionpublic java.lang.String toString()
toString in interface org.ietf.jgss.GSSNametoString in class java.lang.Objectprotected java.lang.String getHostBasedServiceCN(boolean last)
last - true if the CN is assumed to be the last CN attribute
in the RFC 2253 formatted DN, else false to assume it is the first DN
attribute
public org.ietf.jgss.Oid getStringNameType()
throws org.ietf.jgss.GSSException
getStringNameType in interface org.ietf.jgss.GSSNameorg.ietf.jgss.GSSException
public byte[] export()
throws org.ietf.jgss.GSSException
export in interface org.ietf.jgss.GSSNameorg.ietf.jgss.GSSException
public org.ietf.jgss.GSSName canonicalize(org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
canonicalize in interface org.ietf.jgss.GSSNameorg.ietf.jgss.GSSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||