Package org.apereo.cas.util.text
Class DefaultMessageSanitizer
- java.lang.Object
-
- org.apereo.cas.util.text.DefaultMessageSanitizer
-
- All Implemented Interfaces:
MessageSanitizer
public class DefaultMessageSanitizer extends java.lang.Object implements MessageSanitizer
This isDefaultMessageSanitizer.- Since:
- 6.6.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOBFUSCATED_STRINGThe obfuscated text that would be the replacement for sensitive text.-
Fields inherited from interface org.apereo.cas.util.text.MessageSanitizer
BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description DefaultMessageSanitizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringsanitize(java.lang.String msg)Sanitize string.
-
-
-
Method Detail
-
sanitize
public java.lang.String sanitize(java.lang.String msg)
Description copied from interface:MessageSanitizerSanitize string.- Specified by:
sanitizein interfaceMessageSanitizer- Parameters:
msg- the msg- Returns:
- the string
-
-