Class BlockingPrincipalNameTransformer

  • All Implemented Interfaces:
    org.apereo.cas.authentication.handler.PrincipalNameTransformer

    public class BlockingPrincipalNameTransformer
    extends java.lang.Object
    implements org.apereo.cas.authentication.handler.PrincipalNameTransformer
    A transformer that matches the username against a given regex patten and throws back an error if a match is found.
    Since:
    6.4.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String transform​(java.lang.String username)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockingPrincipalNameTransformer

        public BlockingPrincipalNameTransformer​(java.lang.String pattern)
    • Method Detail

      • transform

        public java.lang.String transform​(java.lang.String username)
        Specified by:
        transform in interface org.apereo.cas.authentication.handler.PrincipalNameTransformer