
public final class NullSecurityFactory<T> extends Object implements SecurityFactory<T>
SecurityFactory implementation which returns null every time.| Modifier and Type | Method and Description |
|---|---|
T |
create()
Create an instance.
|
static <T> NullSecurityFactory<T> |
getInstance()
Gets an instance of this singleton class.
|
public static <T> NullSecurityFactory<T> getInstance()
T - the type of the security factorypublic T create() throws GeneralSecurityException
SecurityFactorycreate in interface SecurityFactory<T>GeneralSecurityException - if instantiation fails for some reasonCopyright © 2020 JBoss by Red Hat. All rights reserved.