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.UseGSSCredentialSecurityFactoryinsteadASecurityFactoryimplementation for obtaining aGSSCredential.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGSSCredentialSecurityFactory.BuilderDeprecated.A builder for GSS credential security factories.
-
Field Summary
Fields Modifier and Type Field Description private AtomicReference<GSSKerberosCredential>cachedCredentialReferenceDeprecated.private UnaryOperator<GSSKerberosCredential>credentialOperatorDeprecated.private static StringIBMKRB5LoginModuleDeprecated.private static booleanIS_IBMDeprecated.static OidKERBEROS_V5Deprecated.private static StringKRB5LoginModuleDeprecated.private intminimumRemainingLifetimeDeprecated.private static longONE_SECONDDeprecated.private org.wildfly.common.function.ExceptionSupplier<GSSKerberosCredential,GeneralSecurityException>rawSupplierDeprecated.static OidSPNEGODeprecated.
-
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.Builderbuilder()Deprecated.Obtain a newGSSCredentialSecurityFactory.Buildercapable of building aGSSCredentialSecurityFactory.GSSKerberosCredentialcreate()Deprecated.Create an instance.private booleantestIsValid(KerberosTicket ticket)Deprecated.private booleantestIsValid(GSSCredential gssCredential)Deprecated.private GSSKerberosCredentialupdate(GSSKerberosCredential original)Deprecated.private static GSSCredentialwrapCredential(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:SecurityFactoryCreate an instance.- Specified by:
createin interfaceSecurityFactory<GSSKerberosCredential>- Returns:
- the new instance
- Throws:
GeneralSecurityException- if instantiation fails for some reason
-
builder
public static GSSCredentialSecurityFactory.Builder builder()
Deprecated.Obtain a newGSSCredentialSecurityFactory.Buildercapable of building aGSSCredentialSecurityFactory.- Returns:
- a new
GSSCredentialSecurityFactory.Buildercapable of building aGSSCredentialSecurityFactory.
-
wrapCredential
private static GSSCredential wrapCredential(GSSCredential credential)
Deprecated.
-
-