Class GSSCredentialSecurityFactory
- java.lang.Object
-
- org.wildfly.security.mechanism.gssapi.GSSCredentialSecurityFactory
-
- All Implemented Interfaces:
SecurityFactory<GSSKerberosCredential>
public final class GSSCredentialSecurityFactory extends Object implements SecurityFactory<GSSKerberosCredential>
ASecurityFactory
implementation for obtaining aGSSCredential
.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GSSCredentialSecurityFactory.Builder
A builder for GSS credential security factories.
-
Field Summary
Fields Modifier and Type Field Description static Oid
KERBEROS_V5
static Oid
SPNEGO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GSSCredentialSecurityFactory.Builder
builder()
Obtain a newGSSCredentialSecurityFactory.Builder
capable of building aGSSCredentialSecurityFactory
.GSSKerberosCredential
create()
Create an instance.
-
-
-
Method Detail
-
create
public GSSKerberosCredential create() throws GeneralSecurityException
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()
Obtain a newGSSCredentialSecurityFactory.Builder
capable of building aGSSCredentialSecurityFactory
.- Returns:
- a new
GSSCredentialSecurityFactory.Builder
capable of building aGSSCredentialSecurityFactory
.
-
-