Class SecurityService
java.lang.Object
com.bluebell.greenhouse.radicle.security.services.SecurityService
Service-layer for security operations.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionisUserTaken(String usernameOrEmail) Checks for a user with the given username or email.Attempts to log a user in for the given email/username string and password.
-
Constructor Details
-
SecurityService
public SecurityService()
-
-
Method Details
-
isUserTaken
Checks for a user with the given username or email. Returns a pair of booleans, corresponding to username and email respectively. Ex: if this method return Pair<true, false>, this means that a user with the given username was identified but not an email- Parameters:
usernameOrEmail- test string- Returns:
Triplet
-
login
-