Unable to throw Custom Exception Form CustomAuthenticator

Chanakya P, modified 2 Years ago. Junior Member Posts: 72 Join Date: 2/17/14 Recent Posts

Hi All,

I want show some required message when custom/own exception throw in CustomAuthenticator(implements Authenticator) class.


I was unable to throw custom/own exception from CustomAuthenticator ?
I was unable to import that custom/own exception class in login.jsp ?

Note: 

1. Created one fragment for login.jsp
2. Created component(CustomAuthenticator) class in my module
    @Component(
    immediate = true,
    property = {
            "key=auth.pipeline.pre"
        },
        service = Authenticator.class
    )


Can any help me out.

Srinivas P, modified 2 Years ago. Junior Member Posts: 72 Join Date: 2/17/14 Recent Posts

Hi All,

 

Can any one help me out.

Chanakya P, modified 2 Years ago. Junior Member Posts: 72 Join Date: 2/17/14 Recent Posts

Hi All,

 

Any Idea on this..