Package org.wildfly.security
Interface SecurityFactory<T>
-
- All Known Implementing Classes:
FailedSecurityFactory
,FixedSecurityFactory
,GSSCredentialSecurityFactory
,GSSCredentialSecurityFactory
,KeyStoreEntrySecurityFactory
,NullSecurityFactory
,OneTimeSecurityFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SecurityFactory<T>
A factory for preconfigured security objects.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create()
Create an instance.
-
-
-
Method Detail
-
create
T create() throws GeneralSecurityException
Create an instance.- Returns:
- the new instance
- Throws:
GeneralSecurityException
- if instantiation fails for some reason
-
-