All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.ecs.nfsclient.nfs.nfs3.Nfs3AccessResponse Maven / Gradle / Ivy

Go to download

NFS Client for Java - provides read/write access to data on NFS servers. The current implementation supports only NFS version 3.

There is a newer version: 1.1.0
Show newest version
/**
 * Copyright 2016 EMC Corporation. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 *
 * http://www.apache.org/licenses/LICENSE-2.0.txt
 *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
package com.emc.ecs.nfsclient.nfs.nfs3;

import com.emc.ecs.nfsclient.nfs.NfsAccessResponse;

/**
 * The response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
 * 
 * 

* Procedure ACCESS determines the access rights that a user, as identified by * the credentials in the request, has with respect to a file system object. The * client encodes the set of permissions that are to be checked in a bit mask. * The server checks the permissions encoded in the bit mask. A status of * NFS3_OK is returned along with a bit mask encoded with the permissions that * the client is allowed. *

* *

* The results of this procedure are necessarily advisory in nature. That is, a * return status of NFS3_OK and the appropriate bit set in the bit mask does not * imply that such access will be allowed to the file system object in the * future, as access rights can be revoked by the server at any time. *

* * @author seibed */ public class Nfs3AccessResponse extends NfsAccessResponse { /** * Creates the response, as specified by RFC 1813 * (https://tools.ietf.org/html/rfc1813). * *

* Procedure ACCESS determines the access rights that a user, as identified * by the credentials in the request, has with respect to a file system * object. The client encodes the set of permissions that are to be checked * in a bit mask. The server checks the permissions encoded in the bit mask. * A status of NFS3_OK is returned along with a bit mask encoded with the * permissions that the client is allowed. *

* *

* The results of this procedure are necessarily advisory in nature. That * is, a return status of NFS3_OK and the appropriate bit set in the bit * mask does not imply that such access will be allowed to the file system * object in the future, as access rights can be revoked by the server at * any time. *

*/ public Nfs3AccessResponse() { super(Nfs3.VERSION); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy