Package de.xima.fc.user
Class UserFactory
- java.lang.Object
-
- de.xima.fc.user.UserFactory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IUser
anonymous(Collection<BenutzerGruppe> userGroups)
static IUser
forPac4jProfile(org.pac4j.core.profile.UserProfile pac4jProfile)
static IUser
forWebContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IAuthenticationTarget target)
static void
registerUserProducer(Function<org.pac4j.core.profile.UserProfile,IUser> userProducer)
-
-
-
Method Detail
-
registerUserProducer
public static void registerUserProducer(Function<org.pac4j.core.profile.UserProfile,IUser> userProducer)
-
forWebContext
public static IUser forWebContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IAuthenticationTarget target)
-
forPac4jProfile
public static IUser forPac4jProfile(org.pac4j.core.profile.UserProfile pac4jProfile)
-
anonymous
public static IUser anonymous(Collection<BenutzerGruppe> userGroups)
-
-