Package org.skr.security
Interface Certification
-
public interface CertificationCertification to identify a user. e.g.- username + password
- phone + sms captcha
- email + captcha
- OAuth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetIdentity()identity for this Certification, e.g.java.lang.StringgetUserPrincipalIdentity()identity for the user principle that this certification is binding to, e.g.
-
-
-
Method Detail
-
getIdentity
java.lang.String getIdentity()
identity for this Certification, e.g. username, phone number, email address, etc.
-
getUserPrincipalIdentity
java.lang.String getUserPrincipalIdentity()
identity for the user principle that this certification is binding to, e.g. account.id / user.id
-
-