Package com.eka.middleware.auth
Class Security
java.lang.Object
com.eka.middleware.auth.Security
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDefaultNewUserPath1
(String path, String tenantName) static String
addExternalOIDCAuthorizationServer
(Map<String, Object> props, String resourcePath, DataPipeline dp) static void
addLoginExactPath
(Tenant tenant, String loginUrl) static void
addPublicExactPath
(String resourceExactPath, Tenant tenant) static void
addPublicPrefixPath
(String resourcePrefixPath, Tenant tenant) static void
generateKeyPair
(String tenantName) static String
gerDefaultNewUserPath
(String tenantName) static String
getNormalString
(String secureString, String privateKey) getPath()
getPublicExactPaths
(String tenantName) getPublicPrefixPaths
(String tenantName) static String
getSecureString
(String data, String publicKey) static io.undertow.server.handlers.PathHandler
init()
static boolean
static void
removeDefaultNewUserPath
(String path, String tenantName) static void
removePath
(String resourcePath) static void
setupTenantSecurity
(String tenantName)
-
Field Details
-
defaultTenantPage
- See Also:
-
defaultLoginPage
- See Also:
-
defaultWelcomePage
- See Also:
-
defaultWorkspacePage
- See Also:
-
defaultLoginPage_NonTenant
- See Also:
-
defaultLoginAction
- See Also:
-
loginExactPathsMap
-
LOGGER
public static org.apache.logging.log4j.Logger LOGGER -
PRIVATE_PROPERTY_KEY_NAME
-
PUBLIC_PROPERTY_KEY_NAME
-
-
Constructor Details
-
Security
public Security()
-
-
Method Details
-
getPath
-
init
- Throws:
Exception
-
generateKeyPair
-
getSecureString
- Throws:
Exception
-
getNormalString
- Throws:
Exception
-
setupTenantSecurity
-
addPublicPrefixPath
-
addPublicExactPath
-
addLoginExactPath
-
isPublic
-
addDefaultNewUserPath1
-
removeDefaultNewUserPath
-
gerDefaultNewUserPath
-
addExternalOIDCAuthorizationServer
public static String addExternalOIDCAuthorizationServer(Map<String, Object> props, String resourcePath, DataPipeline dp) throws Exception- Throws:
Exception
-
getPublicPrefixPaths
-
getPublicExactPaths
-
removePath
- Throws:
Exception
-