Class AuthenticationSubject
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AuthenticationSubject
-
public class AuthenticationSubject extends Object
DTO containing information about a user being authenticated. In case of first factor it is identity of unknown type. In case of 2nd factor it is a concrete entity.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationSubject
entityBased(long entityId)
boolean
equals(Object obj)
int
hashCode()
static AuthenticationSubject
identityBased(String identity)
String
toString()
-
-
-
Method Detail
-
identityBased
public static AuthenticationSubject identityBased(String identity)
-
entityBased
public static AuthenticationSubject entityBased(long entityId)
-
-