Package org.wildfly.security.auth.util
Class GSSCredentialSecurityFactory
- java.lang.Object
-
- org.wildfly.security.auth.util.GSSCredentialSecurityFactory
-
- All Implemented Interfaces:
SecurityFactory<GSSKerberosCredential>
@Deprecated public final class GSSCredentialSecurityFactory extends Object implements SecurityFactory<GSSKerberosCredential>
Deprecated.UseGSSCredentialSecurityFactory
insteadASecurityFactory
implementation for obtaining aGSSCredential
.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GSSCredentialSecurityFactory.Builder
Deprecated.A builder for GSS credential security factories.
-
Field Summary
Fields Modifier and Type Field Description private GSSKerberosCredential
cachedCredential
Deprecated.private static String
IBMKRB5LoginModule
Deprecated.private static boolean
IS_IBM
Deprecated.static Oid
KERBEROS_V5
Deprecated.private static String
KRB5LoginModule
Deprecated.private int
minimumRemainingLifetime
Deprecated.private org.wildfly.common.function.ExceptionSupplier<GSSKerberosCredential,GeneralSecurityException>
rawSupplier
Deprecated.static Oid
SPNEGO
Deprecated.
-
Constructor Summary
Constructors Constructor Description GSSCredentialSecurityFactory(int minimumRemainingLifetime, org.wildfly.common.function.ExceptionSupplier<GSSKerberosCredential,GeneralSecurityException> rawSupplier)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GSSCredentialSecurityFactory.Builder
builder()
Deprecated.Obtain a newGSSCredentialSecurityFactory.Builder
capable of building aGSSCredentialSecurityFactory
.GSSKerberosCredential
create()
Deprecated.Create an instance.private static GSSCredential
wrapCredential(GSSCredential credential)
Deprecated.
-
-
-
Field Detail
-
IS_IBM
private static final boolean IS_IBM
Deprecated.
-
KRB5LoginModule
private static final String KRB5LoginModule
Deprecated.- See Also:
- Constant Field Values
-
IBMKRB5LoginModule
private static final String IBMKRB5LoginModule
Deprecated.- See Also:
- Constant Field Values
-
KERBEROS_V5
public static final Oid KERBEROS_V5
Deprecated.
-
SPNEGO
public static final Oid SPNEGO
Deprecated.
-
minimumRemainingLifetime
private final int minimumRemainingLifetime
Deprecated.
-
rawSupplier
private final org.wildfly.common.function.ExceptionSupplier<GSSKerberosCredential,GeneralSecurityException> rawSupplier
Deprecated.
-
cachedCredential
private volatile GSSKerberosCredential cachedCredential
Deprecated.
-
-
Constructor Detail
-
GSSCredentialSecurityFactory
GSSCredentialSecurityFactory(int minimumRemainingLifetime, org.wildfly.common.function.ExceptionSupplier<GSSKerberosCredential,GeneralSecurityException> rawSupplier)
Deprecated.
-
-
Method Detail
-
create
public GSSKerberosCredential create() throws GeneralSecurityException
Deprecated.Description copied from interface:SecurityFactory
Create an instance.- Specified by:
create
in interfaceSecurityFactory<GSSKerberosCredential>
- Returns:
- the new instance
- Throws:
GeneralSecurityException
- if instantiation fails for some reason
-
builder
public static GSSCredentialSecurityFactory.Builder builder()
Deprecated.Obtain a newGSSCredentialSecurityFactory.Builder
capable of building aGSSCredentialSecurityFactory
.- Returns:
- a new
GSSCredentialSecurityFactory.Builder
capable of building aGSSCredentialSecurityFactory
.
-
wrapCredential
private static GSSCredential wrapCredential(GSSCredential credential)
Deprecated.
-
-