playframework - Play authentication error -
getting error--at line 73
in {module:secure}/app/controllers/secure.java (around line 73) 69: // check tokens 70: boolean allowed = false; 71: try { 72: // deprecated method name 73: **allowed = (boolean)security.invoke("authenticate", username, password);** 74: // allowed = true; 75: } catch (unsupportedoperationexception e ) { 76: // official method name 77: allowed = (boolean)security.invoke("authenticate", username, password); 78: } 79: if(validation.haserrors() || !allowed) {
i tried debugg application not find proper reason error.[![enter image description here][1]][1]
please tell me how authentication happens in play framework can debugg. not understand code flow.
java version mismatch issue. application required 1.6 , mine java 1.8
Comments
Post a Comment