public class SecurityFactoryServiceLoader extends Object
It could discover either SecurityContextFactory
or SecurityModuleFactory
,
based on provided requirements.
Constructor and Description |
---|
SecurityFactoryServiceLoader() |
Modifier and Type | Method and Description |
---|---|
static SecurityContextFactory |
findContextFactory(String securityContextFactoryClass)
Find a suitable
SecurityContextFactory based on canonical name. |
static SecurityModuleFactory |
findModuleFactory(String securityModuleFactoryClass)
Find a suitable
SecurityModuleFactory based on canonical name. |
public static SecurityModuleFactory findModuleFactory(String securityModuleFactoryClass) throws NoMatchSecurityFactoryException
SecurityModuleFactory
based on canonical name.NoMatchSecurityFactoryException
public static SecurityContextFactory findContextFactory(String securityContextFactoryClass) throws NoMatchSecurityFactoryException
SecurityContextFactory
based on canonical name.NoMatchSecurityFactoryException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.