An object of this class implements the functionality of a GSSContext
for a specific mechanism.
Creates a new name which is guaranteed to be mechanism specific (MN).
Tests if the application can read from the specified file.
Tests if the application can read from the specified file.
Tests if the application can read from the specified file.
Tests if the application can read from the specified file.
Tests if the application can read from the specified file.
Tests if the application can read from the specified file.
Tests if the application can write to this file.
Tests if the application can write to this file.
Tests if the application can write to this file.
Tests if the application can write to this file.
Tests if the application can write to this file.
Tests if the application can write to this file.
The JGSS accommodates the concept of caller-provided channel
binding information.
Construct a channel bindings object without any addressing
information.
Construct a channel bindings object that contains all the user
specified tags.
Creates a duplicate of this object.
Produces a copy of this object.
Close the file by flushing data and
deallocating buffers.
Close the file
Since NFS has no concept of file close, we just
flush any buffered data.
Closes this file input stream and releases any system resources
associated with the stream.
Closes this file output stream, flushes any buffered,
unwritten data, and releases any system resources
associated with this stream.
Closes this random access file and flushes any
unwritten data to the file.
Return value from either accept or init stating that
the context creation phase is complete for this peer.
Context option flag - confidentiality.
conn - field in class com.sun.rpc.
Rpc Sets up a UDP connection to the server.
Construct a new connection to a specified server and port.
Sets up a connection to the server using
either UDP or TCP as determined by the
subclass.
Construct a new connection to a specified server
and port using protocol proto with a
reply buffer of size maxsize.
Sets up a TCP connection to the server.
Construct a new connection to a specified server and port.
A utility method which takes an array of Oids and checks if
it contains this oid object.
Specified security context expired error.
Return value from either accept or init stating that
another token is required from the peer to continue context
creation.
Creates a File object constructed from File obj and filename
Creates a file object constructed from give pathname
RPC Credentials
Extended by each credential class
Context option flag - credential delegation.
Expired credentials detected error.
The credential class for the RPCSEC_GSS security flavor.
Constructor creates an instance of RPCSEC_GSS credential with
given service name, mechanism, service type and qop number.
Constructor creates an instance of RPCSEC_GSS credential with
given service name, mechanism, service type and qop number.
This is the "NONE" credential, i.e.
Constructor creates an instance of
Unix credential and sets default uid/gid
to "nobody".
Constructor creates an instance of
Unix credential with given uid/gid
An expected per-message token was not received.
Returns the absolute pathname of the file represented by this
object.
Returns the accept lifetime remaining.
Get the acceptor's address for this channel binding.
Returns true if this is an anonymous context.
Get the application specified data for this channel binding.
Gets the integer value of current selected dialog type and returns the
corresponding string of dialog type.
Gets the integer value of current selection file mode and returns the
corresponding string of file mode.
Gets the String representation of XFile object
Get a cached connection for the specified server, port and protocol
Returns the canonical form of this XFile
object's
pathname.
Returns the confidentiality service state over the context.
Get the credential as a Unix cred
Return the RPC credential
Get creds from an XDR buffer
Returns XFile Object of the current directory.
Get the default security flavor number if it is specified in the
nfssec.properties file, otherwise, simply return "1" for AUTH_SYS.
Determines the default mechanism.
Returns the delegated credential object on the acceptor's side.
Returns the state of the delegated credentials for the context.
Returns the full ASN.1 DER encoding for this oid object.
Get the XFileExtensionAccessor
Returns the current offset in this file.
Returns the list of files in a directory
Returns the name of the filesystem, the string before
the colon of the URL.
Depending on type of operating system (e.g.
Get the Unix group id for the user
Get the Unix group list for the user
Retrieves the name of the entity that the credential has been
acquired for.
Queries the selected mechanism for the principal name of the
credential.
Get the user's home directory path
Returns the user's home directory
Get the initiator's address for this channel binding.
Returns the init lifetime remaining.
Returns the integrity service state over the context.
Returns the context lifetime in seconds.
Returns the lifetime remaining.
Returns the major code representing the error that caused this
exception to be thrown.
Returns a string explaining the major code in this exception.
Returns the mechanism oid for the context.
Get the mechanism type that this NameElement corresponds to.
getMech will get the security mechanism OID string from the second token
in the value.
Returns the oid representing the underlying credential
mechanism oid.
Returns the mechanism oids over which the credential has been
acquired.
Indicates which mechanisms are configured within JGSS.
Returns all the mechanisms that support the specific name type.
Returns string representing both the major and minor status
codes.
Returns a token containing a cryptographic MIC for the
supplied message, for transfer to the peer application.
Produces a token containing a cryptographic MIC for the
supplied message, for transfer to the peer application.
Returns the mechanism error that caused this exception.
Returns a string explaining the mechanism specific error code.
Returns the state of the mutual authentication option for
the context.
Returns the principal name for this credential.
Returns the name of the file represented by this object.
getName will get the NFS security flavor name from the first token
in the value.
Returns name types (Oids) supported by the selected mechanism.
Returns the name type oid for this name.
Returns the parent part of the pathname of this
XFile
object, or null
if the name
has no parent part.
Returns the parent directory of specified directory/file object
Returns the pathname of the file represented by this object.
Since this returns the address of the server it may
seem redundant - but if you receive a reply to a
broadcast RPC you need to know who is replying.
Get the preferred nfs security flavor number if it is specified
in the nfssec.properties file, otherwise, return null.
Retrieves the privacy state.
getQop will get the Quality of Protection number from the fourth token
in the value.
Returns the remaining lifetime in seconds for the credential
to remain capable of accepting security context under the
specified mechanism.
Returns the remaining lifetime in seconds for the credential
to remain capable of initiating security context under the
specified mechanism.
Obtains the remaining lifetime for a credential.
Returns the state of the replay detection service for
the context.
Returns the XFile object of the selected file.
Returns the XFileInputStream object of the selected file
Returns the XFileOutputStream object of the selected file
Returns a list of selected files if the filechooser is
set to allow multi-selection.
Returns the state of the sequence detection service for
the context.
getService will get the security service type from the third token
in the value.
Retrieves the name of the context initiator.
Returns the name type for the printed name.
Returns the oid describing the format of the printable name.
Provides the valid dialog type: Open, Save, or Custom
Provides the valid selection file modes: Files, Directories or
Files/Directories
Retrieves the name of the context target (acceptor).
Get the Unix user id for the user
Get the user's home Unix umask
Retrieve the credential usage flag, which is one of
INITIATE_ONLY, ACCEPT_ONLY, INITIATE_AND_ACCEPT.
Returns the credential usage.
Retrieve the credential usage flag, which is one of
INITIATE_ONLY, ACCEPT_ONLY, INITIATE_AND_ACCEPT, for a
specific credential mechanism.
Returns the maximum message size that, if presented to the
wrap method with the same confReq and qop parameters will
result in an output token containing no more then maxTokenSize
bytes.
Get the XFile for this Accessor
Get the XFile for this Accessor
Return the XFile for this Accessor
Get the XFile for this Accessor
This class represents the JGSS security context and its associated
operations.
Constructor for creating a GSSContext from a previously
exported context.
Constructor for creating a context on the acceptor' side.
Constructor for creating a context on the initiator's side.
This class manages GSS-API credentials and their associated
operations.
Constructor for default mechanism credential.
Constructor for a single mechanism credential.
Constructor for a credential over a set of mechanisms.
Constructor for default credentials.
This interface is implemented by each mechanism to provide the
functionality of a credential.
This exception is thrown whenever a fatal GSS-API error occurs
including mechanism specific errors.
Construct a GSSException object with a specified major code.
Construct a GSSException object with a specified major and
minor codes and minor explanation string.
This class implements functionality common to the entire GSS-API
package.
An object of this class encapsulates a single GSS-API principal entity.
Creates a new GSSName object from the specified type.
Creates a new GSSName object from the specified type.
Converts a contiguous string name to a GSSName object
of the specified type.
Creates a new GSSName object of the specified type.
This class represents a mechanism specific name element.
Indefinite lifetime value for a context.
Indefinite lifetime for a credential.
Initializer for the GSSNameSpi object using a byte array.
Called by the context initiator to start the context creation
process.
Initialized the credential object.
Initiate a security context with peers
Called by the context initiator to start the context creation
process.
Initializer for the GSSNameSpi object using a String.
Credential usage flag requesting that it be able to be used
for both context initiation and acceptance.
Credential usage flag requesting that it be able to be used
for context initiation only.
Context option flag - integrity.
Tests if the file represented by this XFile
object is an absolute pathname.
Tests if this is an Anonymous name object.
Indicates if this name object represents an Anonymous name.
Tests if the file represented by this XFile
object is a directory.
Tests if the file represented by this XFileAccessor
object is a directory.
Tests if the file represented by this XFileAccessor
object is a directory.
Tests if the file represented by this XFileAccessor
object is a directory.
Tests if the file represented by this XFileAccessor
object is a directory.
Tests if the file represented by this XFileAccessor
object is a directory.
Method to signal supplementary information.
Returns true is this is a fully established context.
Tests if the file represented by this XFile
object is a "normal" file.
Tests if the file represented by this
object is a "normal" file.
Tests if the file represented by this
object is a "normal" file.
Tests if the file represented by this
object is a "normal" nfs.
Tests if the file represented by this
object is a "normal" file.
Tests if the file represented by this
object is a "normal" file.
Method to signal supplementary information.
Returns true if this is the initiator of the context.
Method to signal supplementary information.
Indicates if the per message operations can be applied over
the context.
Returns true if the given file object is root.
Indicates if the context is transferable to other processes
through the use of the export method.
Method to signal supplementary information.
Returns the time that the file represented by this
XFile
object was last modified.
Returns the time that the file represented by this
XFile
object was last modified.
Returns the time that the file represented by this
XFile
object was last modified.
Returns the time that the file represented by this
XFile
object was last modified.
Returns the time that the file represented by this
XFile
object was last modified.
Returns the time that the file represented by this
XFile
object was last modified.
Returns the length of the file represented by this
XFile
object.
Returns the length of the file represented by this
XFileAccessor object.
Returns the length of the file represented by this
XFileAccessor object.
Returns the length of the file represented by this
XFileAccessor object.
Returns the length of the file represented by this
XFileAccessor object.
Returns the length of the file represented by this
XFileAccessor object.
Returns the length of this file.
Returns a list of the files in the directory specified by this
XFile
object.
Returns a list of the files in the directory specified by
this XFileAccessor object.
Returns a list of the files in the directory specified by
this XFileAccessor object.
Returns a list of the files in the directory specified by
this XFileAccessor object.
Returns a list of the files in the directory specified by
this XFileAccessor object.
Returns a list of the files in the directory specified by
this XFileAccessor object.
Returns a list of the files in the directory specified by this
XFile
that satisfy the specified filter.
Sets the user's RPC credential from Login name and password.
Sets the user's RPC credential to a known uid/gid.
Sets the user's RPC credential to "nobody"
Sets the user's RPC credential to "nobody"
Reads a byte of data from this XFile.
Reads a byte of data from this file.
Reads up to b.length
bytes of data from this file
into an array of bytes.
Reads up to b.length
bytes of data from this file
into an array of bytes.
Reads up to len
bytes of data from this file
into an array of bytes.
Reads up to len
bytes of data from this file into
an array of bytes.
Reads a subarray as a sequence of bytes.
Reads a subarray as a sequence of bytes.
Reads a subarray as a sequence of bytes.
Reads a subarray as a sequence of bytes.
Reads a subarray as a sequence of bytes.
Reads a boolean
from this file.
Reads a signed 8-bit value from this file.
Reads a Unicode character from this file.
Reads a double
from this file.
Reads a float
from this file.
Reads b.length
bytes from this file into the byte
array.
Reads exactly len
bytes from this file into
the byte array.
Reads a signed 32-bit integer from this file.
Reads the next line of text from this file.
Reads a signed 64-bit integer from this file.
Reads a signed 16-bit number from this file.
Reads an unsigned 8-bit number from this file.
Reads an unsigned 16-bit number from this file.
Reads in a string from this file.
Renames the file specified by this XFile
object to
have the pathname given by the XFile
argument.
Renames the file specified by this XFileAccessor object to
have the pathname given by the XFileAccessor object argument.
Renames the file specified by this XFileAccessor object to
have the pathname given by the XFileAccessor object argument.
Renames the file specified by this XFileAccessor object to
have the pathname given by the XFileAccessor object argument.
Renames the file specified by this XFileAccessor object to
have the pathname given by the XFileAccessor object argument.
Renames the file specified by this XFileAccessor object to
have the pathname given by the XFileAccessor object argument.
Context option flag - replay detection.
Requests anonymous support over the context.
Requests that confidentiality service be available over
the context.
Sets the request state of the credential delegation flag
for the context.
Requests that integrity service be available over
the context.
Sets the desired lifetime for the context in seconds.
Sets the request state of the mutual authentication flag
for the context.
Sets the request state of the replay detection service
for the context.
Sets the request state of the sequence checking service
for the context.
This class transmits and receives RPC calls to an RPC service
at a specific host and port.
Construct a new Rpc object - equivalent to a "client handle"
using an AUTH_NONE cred handle.
Construct a new Rpc object - equivalent to a "client handle"
using a given cred handle "cr"
Construct a new Rpc object - equivalent to a "client handle"
Make an RPC call but retry if necessary
Retries use exponential backoff up to MAX_TIMEOUT ms.
Transmit the XDR call buffer containing an RPC header
followed by a protocol header and receive the
reply.
Construct an RPC header in the XDR buffer
Handle the RPC exceptions.
This handler is implemented by the RPC application
if it wishes to be notifed of retransmissions.
Allows to apply per-message security services over the
established security context.
Allows to apply per-message security services over the
established security context.
Writes b.length
bytes from the specified byte array
to this file output stream.
Writes b.length
bytes from the specified byte array
starting at offset off
to this file.
Writes len
bytes from the specified byte array
starting at offset off
to this XFile output stream.
Writes len
bytes from the specified byte array
starting at offset off
to this file.
Writes a sub array as a sequence of bytes.
Writes a sub array as a sequence of bytes.
Writes a sub array as a sequence of bytes.
Writes a sub array as a sequence of bytes.
Writes a sub array as a sequence of bytes.
Writes the specified byte to this file output stream.
Writes the specified byte to this file.
Writes a boolean
to the file as a 1-byte value.
Writes a byte
to the file as a 1-byte value.
Writes the string to the file as a sequence of bytes.
Writes a char
to the file as a 2-byte value, high
byte first.
Writes a string to the file as a sequence of characters.
Converts the double argument to a long
using the
doubleToLongBits
method in class Double
,
and then writes that long
value to the file as an
8-byte quantity, high byte first.
Converts the float argument to an int
using the
floatToIntBits
method in class Float
,
and then writes that int
value to the file as a
4-byte quantity, high byte first.
Writes an int
to the file as four bytes, high byte first.
Writes a long
to the file as eight bytes, high byte first.
Writes a short
to the file as two bytes, high byte first.
Writes a string to the file using UTF-8 encoding in a
machine-independent manner.
Identifies user's directory change.
This class handles the marshalling/unmarshalling of
primitive data types into and out of a buffer.
Build a new Xdr object with a buffer of given size
Get a boolean from the buffer
Put a boolean into the buffer
Return the entire Xdr buffer
Get a counted array of bytes from the buffer
Put a counted array of bytes into the buffer.
Put a counted array of bytes into the buffer
Put a counted array of bytes into the buffer
Put an Xdr buffer into the buffer
This is used to encode the RPC credentials
Get a floating point number from the buffer
Put a floating point number into the buffer
Get a long from the buffer
Put a long into the buffer
Get an integer from the buffer
Put an integer into the buffer
Return the current offset
Put a fixed number of bytes into the buffer
The length is not encoded.
Put a fixed number of bytes into the buffer
at offset off.
Put a counted array of bytes into the buffer.
Get a fixed number of bytes from the buffer
e.g.
Get a fixed number (len) of bytes from the buffer
at offset off.
Return the current size of the XDR buffer
Set the current size of the XDR buffer
Get a string from the buffer
Put a string into the buffer
Get an unsigned integer from the buffer
Note that Java has no unsigned integer
type so we must return it as a long.
Put an unsigned integer into the buffer
Note that Java has no unsigned integer
type so we must submit it as a long.
Return the starting point of the bytes that will
be encrypted.
Set the starting point of the bytes that will
be encrypted.
Instances of this class represent the name of a file or directory.
Creates a XFile
instance that represents the file
with the specified name in the specified directory.
Creates a XFile
instance that represents the file
whose pathname is the given url argument.
The XFileAccessor interface is implemented by filesystems that
need to be accessed via the XFile API.
The XFileAccessor interface is implemented by filesystems that
need to be accessed via the XFile API.
The XFileAccessor interface is implemented by filesystems that
need to be accessed via the XFile API.
The XFileAccessor interface is implemented by filesystems that
need to be accessed via the XFile API.
The XFileAccessor interface is implemented by filesystems that
need to be accessed via the XFile API.
XFileChooser is an extension of the JFileChooser.
Creates a XFileChooser pointing to the user's home directory.
Creates a XFileChooser using the given XFile as the path.
Creates a XFileChooser using the given path.
Describes the XFileChooser properties that is modifiable by
user in the beans editor.
An editor to set the current Directory and selected file.
This is an abstract class to intended to be extended with
filesystem-specific methods.
An XFile input stream is an input stream for reading data from an
XFile
.
Creates an input file stream to read from the specified
XFile
object.
Creates an input file stream to read from a file with the
specified name.
Instances of classes that implement this interface are used to
filter filenames.
An XFile output stream is an output stream for writing data to an
XFile
.
Creates an XFile output stream to write to the specified
XFile
object.
Creates an output file for the specified XFile object.
Creates an output XFile stream to write to the file with the
specified name.
Creates an output file with the specified name or URL.
Convenience class for reading character files.
XFileSystemView class allows the XFileChooser to provide
XFile object data to the FileSystemView of the JFileChooser.
Convenience class for writing character files.
Instances of this class support both reading and writing to a
random access file.
Creates a random access file stream to read from, and optionally
to write to, the file specified by the XFile
argument.
Creates a random access file to read from, and optionally
to write to, a file with the specified name.