Class UsernameExtractor
java.lang.Object
org.forgerock.am.identity.application.UsernameExtractor
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getUsername
(String name) Deprecated.Returns the username when given a string which may be a username, universal ID, or special user DN.
-
Constructor Details
-
UsernameExtractor
public UsernameExtractor()Deprecated.
-
-
Method Details
-
getUsername
Deprecated.Returns the username when given a string which may be a username, universal ID, or special user DN. This should be avoided where possible, as it indicates that the calling code is unsure of the format of the data which it holds.- Parameters:
name
- The name to extract the username from.- Returns:
- The username extracted from the provided name.
- Throws:
IdRepoException
- if the provided name is an illegal universal id.
-