Class FixedSecurityFactory<T>

java.lang.Object
org.wildfly.security.FixedSecurityFactory<T>
All Implemented Interfaces:
SecurityFactory<T>

public final class FixedSecurityFactory<T> extends Object implements SecurityFactory<T>
A SecurityFactory implementation which returns specified object every time.
Author:
David M. Lloyd
  • Constructor Details

    • FixedSecurityFactory

      public FixedSecurityFactory(T value)
      Creates a new factory instance.
      Parameters:
      value - the value to be returned on create
  • Method Details