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

org.filesys.server.auth.spnego.OID Maven / Gradle / Ivy

Go to download

Java file server with SMB, FTP/FTPS and NFS support, virtual filesystems, database filesystems

There is a newer version: 1.4.0
Show newest version
/*
 * Copyright (C) 2006-2010 Alfresco Software Limited.
 *
 * This file is part of Alfresco
 *
 * Alfresco is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Alfresco 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Alfresco. If not, see .
 */

package org.filesys.server.auth.spnego;

import org.ietf.jgss.GSSException;
import org.ietf.jgss.Oid;

/**
 * OID Class
 *
 * 

Contains Oids used by SPNEGO * * @author gkspencer */ public class OID { // IDs public static final String ID_SPNEGO = "1.3.6.1.5.5.2"; // Kerberos providers public static final String ID_KERBEROS5 = "1.2.840.113554.1.2.2"; public static final String ID_MSKERBEROS5 = "1.2.840.48018.1.2.2"; public static final String ID_KRB5USERTOUSER = "1.2.840.113554.1.2.2.3"; // Microsoft NTLM security support provider public static final String ID_NTLMSSP = "1.3.6.1.4.1.311.2.2.10"; // Extended SPNEGO security mechanism public static final String ID_SPNEGO_EX = "1.3.6.1.4.1.311.2.2.30"; // OIDs public static Oid SPNEGO; public static Oid KERBEROS5; public static Oid MSKERBEROS5; public static Oid KRB5USERTOUSER; public static Oid NTLMSSP; public static Oid SPNEGO_EX; /** * Static initializer */ static { // Create the OIDs try { SPNEGO = new Oid(ID_SPNEGO); KERBEROS5 = new Oid(ID_KERBEROS5); MSKERBEROS5 = new Oid(ID_MSKERBEROS5); KRB5USERTOUSER = new Oid(ID_KRB5USERTOUSER); NTLMSSP = new Oid(ID_NTLMSSP); SPNEGO_EX = new Oid(ID_SPNEGO_EX); } catch (GSSException ex) { } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy