Authentication class: Add method to encapsulate generated code of login button

Description

Goal:
--------------------------------------------------------------
Usability improvement and simplification for users.

--------------------------------------------------------------

Current situation:
--------------------------------------------------------------
Code for Login Button generated by Project wizard:
(JPA variant)

--------------------------------------------------------------

Suggested changes:
--------------------------------------------------------------
Encapsulate code in additional "Authentication.login()" method.

Similar to following code snippet - "Authentication.login()" variant with different parameter:

In "Authentication" class:

Usage in AuthView:

--------------------------------------------------------------

Comment:
--------------------------------------------------------------
--------------------------------------------------------------

Environment

None

Activity

Show:
Sebastian
April 27, 2017, 11:37 AM

Test Successful.

Authentication:

Authentication with Authorization:

Florian
April 12, 2017, 5:52 PM
Edited

New method Authentication#tryLogin

Code generation was adjusted accordingly.

JM
April 12, 2017, 11:01 AM

Added to Sprint In replacement to

Implemented

Assignee

Florian

Reporter

JM