[jboss-jira] [JBoss JIRA] (WFLY-335) Catching custom login module exceptions in remote client

Darran Lofthouse (JIRA) issues at jboss.org
Thu Nov 10 07:10:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse resolved WFLY-335.
-----------------------------------
    Fix Version/s: 11.0.0.Alpha1
       Resolution: Out of Date


Migrating to WildFly Elytron away from JAAS login modules.

> Catching custom login module exceptions in remote client
> --------------------------------------------------------
>
>                 Key: WFLY-335
>                 URL: https://issues.jboss.org/browse/WFLY-335
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Remoting, Security, Server
>         Environment: Win 7 64 Bit
> 4 GB RAM
> java 1.6
>            Reporter: Serkan Yıldırım
>            Assignee: Darran Lofthouse
>              Labels: exception, login, login-module, remoting
>             Fix For: 11.0.0.Alpha1
>
>
> This feature request is related with the discussion:
> https://community.jboss.org/message/732948#732948
> I have custom login modules in JBOSS 7.1.2 Snapshot. They are working with no error, i can authenticate and authorize a user. However, when an exception occurs at the time of login, i.e. wrong password, i throw javax.security.auth.login.LoginException with my custom message. But i couldn't catch the exception in the remote client. Darran said that it's not supported in this version. I think it is a necessary feature because a remote user could be informed why login is failed.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list