Class DefaultElytronIdentityHelper
- java.lang.Object
-
- org.uberfire.backend.server.security.elytron.DefaultElytronIdentityHelper
-
- All Implemented Interfaces:
ElytronIdentityHelper
@Alternative public class DefaultElytronIdentityHelper extends Object implements ElytronIdentityHelper
Default implementation ofElytronIdentityHelper, it relies in the platformSecurityDomainto obtain the user credentials
-
-
Constructor Summary
Constructors Constructor Description DefaultElytronIdentityHelper(org.uberfire.security.WorkbenchUserManager workbenchUserManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.errai.security.shared.api.identity.UsergetIdentity(String userName, String password)Obtains a valid (and authenticated) user for the given credentials.protected booleanlogin(String userName, String password)
-
-
-
Method Detail
-
getIdentity
public org.jboss.errai.security.shared.api.identity.User getIdentity(String userName, String password)
Description copied from interface:ElytronIdentityHelperObtains a valid (and authenticated) user for the given credentials.- Specified by:
getIdentityin interfaceElytronIdentityHelper- Parameters:
userName- The name of the userpassword- The password- Returns:
- a valid User
-
-