Package com.easydesk.security.entity
Interface User
- All Superinterfaces:
Identifiable<Long>,SecurityEntity<Long>,Serializable
- All Known Subinterfaces:
EasyDeskUser
- All Known Implementing Classes:
EasyDeskUserImpl
This interface represents the basic functionality of a user.
- Version:
- $Id$
- Author:
- Eric Pugh, Youngho Cho
-
Method Summary
Modifier and TypeMethodDescriptionSecurityEntity 의 getName/setName 을 적용해야 하는데, Name 은 이름 상 혼선이 올수 있어서 별도 LoginName method 를 도입 ( LoginName 은 외부에 노출이 되어서는 안된다.)저장되어 있는 (암호화된) password 를 구한다.voidsetLoginName(String name) voidsetPassword(String password) password 를 설정한다.Methods inherited from interface com.easydesk.security.entity.Identifiable
getId, setIdMethods inherited from interface com.easydesk.security.entity.SecurityEntity
getName, setName
-
Method Details
-
getPassword
String getPassword()저장되어 있는 (암호화된) password 를 구한다.- Returns:
- 저장된 password
-
setPassword
password 를 설정한다. 저장소에 저장하지는 않는다.- Parameters:
password- 설정할 password (보통 CredentialService 로 변환된 값)
-
getLoginName
String getLoginName()SecurityEntity 의 getName/setName 을 적용해야 하는데, Name 은 이름 상 혼선이 올수 있어서 별도 LoginName method 를 도입 ( LoginName 은 외부에 노출이 되어서는 안된다.)- Returns:
-
setLoginName
- Parameters:
name-
-