Class ClientNameRestorer
- java.lang.Object
-
- de.xima.fc.security.pac4j.authorization.generator.ClientNameRestorer
-
- All Implemented Interfaces:
org.pac4j.core.authorization.generator.AuthorizationGenerator
public class ClientNameRestorer extends Object implements org.pac4j.core.authorization.generator.AuthorizationGenerator
Authorization generator that restores the profiles client name if it contains any suffixes needed for direct clients.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.pac4j.core.profile.UserProfile>
generate(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)
static ClientNameRestorer
newInstance()
-
-
-
Method Detail
-
newInstance
public static ClientNameRestorer newInstance()
-
generate
public Optional<org.pac4j.core.profile.UserProfile> generate(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)
- Specified by:
generate
in interfaceorg.pac4j.core.authorization.generator.AuthorizationGenerator
-
-