|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalDirectoryUtils
Internal Directory utility.
| Method Summary | |
|---|---|
void |
validateCredential(PasswordCredential credential,
java.lang.String regex)
Validates password credential against the given regex. |
void |
validateDirectoryForEntity(DirectoryEntity entity,
java.lang.Long directoryId)
Validates that the directory entity has the same directory ID as directoryId. |
void |
validateGroupName(Group group,
java.lang.String groupName)
Validates group name. |
void |
validateUsername(java.lang.String username)
Validates a username. |
| Method Detail |
|---|
void validateDirectoryForEntity(DirectoryEntity entity,
java.lang.Long directoryId)
entity - DirectoryEntitydirectoryId - directory ID to match
java.lang.IllegalArgumentException - if the directory IDs do not matchvoid validateUsername(java.lang.String username)
username - username to validate
java.lang.IllegalArgumentException - if the username is not valid
void validateCredential(PasswordCredential credential,
java.lang.String regex)
throws InvalidCredentialException
credential - Password credential.regex - Regex.
InvalidCredentialException - If the credential failed validation.
void validateGroupName(Group group,
java.lang.String groupName)
group - Group.groupName - Group name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||