Package ru.slie.luna.directory
Interface DirectoryType
public interface DirectoryType
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(Directory directory, org.springframework.security.core.Authentication authentication) voidauthenticate(User user, Directory directory, org.springframework.security.core.Authentication authentication) createUser(Directory directory, DirectoryUser directoryUser) getKey()getName()getUserByLogin(Directory directory, String login) default voidprepareLoad(Map<String, String> attributes) default voidprepareSave(Map<String, String> attributes) removeUser(Directory directory, String login) updateUser(Directory directory, DirectoryUser directoryUser) voidvalidateAttributes(Map<String, String> attributes)
-
Method Details
-
getKey
String getKey() -
getName
String getName() -
getDescription
String getDescription() -
getWebComponent
String getWebComponent() -
getDirectoryActions
Collection<DirectoryType.DirectoryAction> getDirectoryActions() -
getUserByLogin
-
authenticate
void authenticate(User user, Directory directory, org.springframework.security.core.Authentication authentication) throws LunaAuthenticationException - Throws:
LunaAuthenticationException
-
authenticate
DirectoryUser authenticate(Directory directory, org.springframework.security.core.Authentication authentication) throws LunaAuthenticationException - Throws:
LunaAuthenticationException
-
createUser
- Throws:
ValidateException
-
updateUser
- Throws:
ValidateException
-
removeUser
- Throws:
LunaAuthenticationException
-
validateAttributes
- Throws:
ValidateException
-
prepareSave
-
prepareLoad
-