jdk/src/share/classes/sun/security/jgss/wrapper/NativeGSSContext.java
changeset 3482 4aaa66ce712d
parent 2 90ce3da70b43
child 4336 4c792c19266e
equal deleted inserted replaced
3481:6ae7a2a6c956 3482:4aaa66ce712d
     1 /*
     1 /*
     2  * Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2005-2009 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
    34 import sun.security.util.DerValue;
    34 import sun.security.util.DerValue;
    35 import sun.security.util.ObjectIdentifier;
    35 import sun.security.util.ObjectIdentifier;
    36 import sun.security.jgss.spnego.NegTokenInit;
    36 import sun.security.jgss.spnego.NegTokenInit;
    37 import sun.security.jgss.spnego.NegTokenTarg;
    37 import sun.security.jgss.spnego.NegTokenTarg;
    38 import javax.security.auth.kerberos.DelegationPermission;
    38 import javax.security.auth.kerberos.DelegationPermission;
       
    39 import com.sun.security.jgss.InquireType;
    39 import java.io.*;
    40 import java.io.*;
    40 
    41 
    41 
    42 
    42 /**
    43 /**
    43  * This class is essentially a wrapper class for the gss_ctx_id_t
    44  * This class is essentially a wrapper class for the gss_ctx_id_t
   613     }
   614     }
   614 
   615 
   615     protected void finalize() throws Throwable {
   616     protected void finalize() throws Throwable {
   616         dispose();
   617         dispose();
   617     }
   618     }
       
   619 
       
   620     public Object inquireSecContext(InquireType type)
       
   621             throws GSSException {
       
   622         throw new GSSException(GSSException.UNAVAILABLE, -1,
       
   623                 "Inquire type not supported.");
       
   624     }
   618 }
   625 }