Class DummyProfileBuilder
- java.lang.Object
-
- de.xima.fc.testhelper.security.pac4j.DummyProfileBuilder
-
public class DummyProfileBuilder extends Object
Builder for creating (mock)pac4j profiles
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH, Dresden
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pac4j.core.profile.UserProfile
build()
static DummyProfileBuilder
newBuilder(UserIdentity identity)
static DummyProfileBuilder
newBuilder(String id, IClientDescriptor clientDescriptor)
static DummyProfileBuilder
newBuilder(String id, String clientName)
DummyProfileBuilder
withAuthTarget(IAuthenticationTarget authTarget)
-
-
-
Method Detail
-
newBuilder
public static DummyProfileBuilder newBuilder(UserIdentity identity)
-
newBuilder
public static DummyProfileBuilder newBuilder(String id, IClientDescriptor clientDescriptor)
-
newBuilder
public static DummyProfileBuilder newBuilder(String id, String clientName)
-
withAuthTarget
public DummyProfileBuilder withAuthTarget(IAuthenticationTarget authTarget)
-
build
public org.pac4j.core.profile.UserProfile build()
-
-