Commit 79c9a52b authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

rpc: remove unused class

parent 8a5429c6
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* GNU Library General Public License for more details.
* You should have received a copy of the GNU Library General Public
* License along with this program (see the file COPYING.LIB for more
* details); if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
package org.dcache.xdr;
import java.util.logging.Logger;
import java.util.logging.Level;
public class RpcAuthDecoder {
private final static Logger _log = Logger.getLogger(RpcAuthDecoder.class.getName());
public static RpcAuth getRpcAuth(Xdr xdr) {
int type = xdr.xdrDecodeInt();
_log.log(Level.FINEST, "decoding auth type: " + type);
if( type == 1) {
// return new RpcAuthTypeUnix(xdr);
throw new UnsupportedOperationException("Auth type not supported");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment