Class UserAccountConnector
- java.lang.Object
-
- de.xima.fc.security.pac4j.authorization.generator.UserAccountConnector
-
- All Implemented Interfaces:
org.pac4j.core.authorization.generator.AuthorizationGenerator
public class UserAccountConnector extends Object implements org.pac4j.core.authorization.generator.AuthorizationGenerator
Connectsaccounts from IDPs
to existinguser profiles
based on a verified email. If an account has been connected to a profile the user will be informed via email.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static UserAccountConnector
INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
autoConnectProfile(org.pac4j.core.profile.UserProfile profile, String remoteAddress, String userAgent, String baseUrl)
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)
-
-
-
Field Detail
-
INSTANCE
public static final UserAccountConnector INSTANCE
-
-
Method Detail
-
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
-
-