Class StaticUserDataProvider.User
java.lang.Object
com.predic8.membrane.core.interceptor.authentication.session.StaticUserDataProvider.User
- Enclosing class:
- StaticUserDataProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSms()voidsetAttributes(Map<String, String> attributes) voidsetPassword(String value) voidvoidvoidsetUsername(String value)
-
Constructor Details
-
User
public User() -
User
-
-
Method Details
-
getUsername
-
setUsername
- Description
- The user's login.
-
getPassword
-
setPassword
- Description
- The user's password.
-
getSms
-
setSms
- Description
- The user's phone number (if used in combination with the
TelekomSMSTokenProvider).
-
getSecret
-
setSecret
- Description
- The user's shared TOTP secret (if used in combination with the
TOTPTokenProvider).
-
getAttributes
-
setAttributes
- Description
- Other user attributes. For example any attribute starting with "header" will be added when HTTP requests are forwarded when authorized by this user.
-