Package org.keycloak.theme
Class DefaultThemeSelectorProvider
- java.lang.Object
-
- org.keycloak.theme.DefaultThemeSelectorProvider
-
- All Implemented Interfaces:
Provider
,ThemeSelectorProvider
public class DefaultThemeSelectorProvider extends Object implements ThemeSelectorProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOGIN_THEME_KEY
-
Fields inherited from interface org.keycloak.theme.ThemeSelectorProvider
DEFAULT, DEFAULT_V2
-
-
Constructor Summary
Constructors Constructor Description DefaultThemeSelectorProvider(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getThemeName(Theme.Type type)
Return the theme name to use for the specified type-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.theme.ThemeSelectorProvider
getDefaultThemeName
-
-
-
-
Field Detail
-
LOGIN_THEME_KEY
public static final String LOGIN_THEME_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultThemeSelectorProvider
public DefaultThemeSelectorProvider(KeycloakSession session)
-
-
Method Detail
-
getThemeName
public String getThemeName(Theme.Type type)
Description copied from interface:ThemeSelectorProvider
Return the theme name to use for the specified type- Specified by:
getThemeName
in interfaceThemeSelectorProvider
- Returns:
-
-