Class UsernamePasswordSecurityInterceptor

  • All Implemented Interfaces:
    org.wso2.msf4j.interceptor.RequestInterceptor

    public class UsernamePasswordSecurityInterceptor
    extends org.wso2.msf4j.security.basic.AbstractBasicAuthSecurityInterceptor
    A simple security interceptor which handled username/password based authentication
    • Field Summary

      • Fields inherited from class org.wso2.msf4j.security.basic.AbstractBasicAuthSecurityInterceptor

        CHARSET_UTF_8
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean authenticate​(java.lang.String username, java.lang.String password)  
      • Methods inherited from class org.wso2.msf4j.security.basic.AbstractBasicAuthSecurityInterceptor

        interceptRequest
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.wso2.msf4j.interceptor.RequestInterceptor

        onRequestInterceptionError
    • Constructor Detail

      • UsernamePasswordSecurityInterceptor

        public UsernamePasswordSecurityInterceptor()
    • Method Detail

      • authenticate

        protected boolean authenticate​(java.lang.String username,
                                       java.lang.String password)
        Specified by:
        authenticate in class org.wso2.msf4j.security.basic.AbstractBasicAuthSecurityInterceptor