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 AtomicReference<GSSKerberosCredential>
cachedCredentialReference
Deprecated.private UnaryOperator<GSSKerberosCredential>
credentialOperator
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 static long
ONE_SECOND
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 boolean
testIsValid(KerberosTicket ticket)
Deprecated.private boolean
testIsValid(GSSCredential gssCredential)
Deprecated.private GSSKerberosCredential
update(GSSKerberosCredential original)
Deprecated.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
-
ONE_SECOND
private static final long ONE_SECOND
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.
-
cachedCredentialReference
private final AtomicReference<GSSKerberosCredential> cachedCredentialReference
Deprecated.
-
credentialOperator
private final UnaryOperator<GSSKerberosCredential> credentialOperator
Deprecated.
-
-
Constructor Detail
-
GSSCredentialSecurityFactory
GSSCredentialSecurityFactory(int minimumRemainingLifetime, org.wildfly.common.function.ExceptionSupplier<GSSKerberosCredential,GeneralSecurityException> rawSupplier)
Deprecated.
-
-
Method Detail
-
update
private GSSKerberosCredential update(GSSKerberosCredential original)
Deprecated.
-
testIsValid
private boolean testIsValid(GSSCredential gssCredential) throws GeneralSecurityException
Deprecated.- Throws:
GeneralSecurityException
-
testIsValid
private boolean testIsValid(KerberosTicket ticket)
Deprecated.
-
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.
-
-