/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* This class provides the default implementation of the GSSManager
* interface.
*/
// Undocumented property
"sun.security.jgss.native";
static {
(USE_NATIVE_PROP));
}
}
});
}
// Used by java SPNEGO impl to make sure native is disabled
}
}
public GSSManagerImpl() {
}
}
throws GSSException {
}
int pos = 0;
// Compatibility with RFC 2853 old NT_HOSTBASED_SERVICE value.
}
// Iterate thru all mechs in GSS
// what nametypes does this mech support?
try {
// Is the desired Oid present in that list?
}
} catch (GSSException e) {
// Squelch it and just skip over this mechanism
": error retrieving supported name types");
}
}
// Trim the list if needed
for (int i = 0; i < pos; i++)
}
return retVal;
}
throws GSSException {
}
throws GSSException {
}
}
throws GSSException {
}
throws GSSException {
return new GSSCredentialImpl(this, usage);
}
throws GSSException {
}
throws GSSException {
}
throws GSSException {
}
throws GSSException {
return new GSSContextImpl(this, myCred);
}
throws GSSException {
return new GSSContextImpl(this, interProcessToken);
}
throws GSSException {
}
throws GSSException {
}
throws GSSException {
}
// Used by java SPNEGO impl
throws GSSException {
// Just use the most preferred MF impl assuming GSSNameSpi
// objects are interoperable among providers
}
// Used by java SPNEGO impl
throws GSSException {
// Just use the most preferred MF impl assuming GSSNameSpi
// objects are interoperable among providers
}
throws GSSException {
if (myInitiatorCred != null) {
p = myInitiatorCred.getProvider();
}
}
throws GSSException {
if (myAcceptorCred != null) {
p = myAcceptorCred.getProvider();
}
}
throws GSSException {
}
// Only allow context import with native provider since JGSS
// still has not defined its own interprocess token format
}
}
}
return result;
}
}