// Path: src/main/java/org/osiam/addons/administration/model/session/GeneralSessionData.java
// @Component
// @Scope(value = "session", proxyMode = ScopedProxyMode.TARGET_CLASS)
// public class GeneralSessionData implements Serializable {
// 
//     private static final long serialVersionUID = 3937661507313495926L;
// 
//     private AccessToken accesstoken;
// 
//     public AccessToken getAccessToken() {
//         return accesstoken;
//     }
// 
//     public void setAccessToken(AccessToken accessToken) {
//         this.accesstoken = accessToken;
//     }
// }


import org.osiam.addons.administration.model.session.GeneralSessionData;
import org.osiam.client.OsiamConnector;
import org.osiam.client.exception.ConflictException;
import org.osiam.client.oauth.Scope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.inject.Inject;
package org.osiam.addons.administration.controller;



/**
 * This controller contains all handler for the login page ( the root path / ).
 */
@Controller
@RequestMapping(LoginController.CONTROLLER_PATH)
public class LoginController {

    public static final String CONTROLLER_PATH = "/";

    private static final Logger logger = LoggerFactory.getLogger(LoginController.class);

    @Inject
    private OsiamConnector connector;

    @Inject
// Path: src/main/java/org/osiam/addons/administration/model/session/GeneralSessionData.java
// @Component
// @Scope(value = "session", proxyMode = ScopedProxyMode.TARGET_CLASS)
// public class GeneralSessionData implements Serializable {
// 
//     private static final long serialVersionUID = 3937661507313495926L;
// 
//     private AccessToken accesstoken;
// 
//     public AccessToken getAccessToken() {
//         return accesstoken;
//     }
// 
//     public void setAccessToken(AccessToken accessToken) {
//         this.accesstoken = accessToken;
//     }
// }


// Path: src/main/java/org/osiam/addons/administration/controller/LoginController.java
import org.osiam.addons.administration.model.session.GeneralSessionData;
import org.osiam.client.OsiamConnector;
import org.osiam.client.exception.ConflictException;
import org.osiam.client.oauth.Scope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.inject.Inject;

package org.osiam.addons.administration.controller;



/**
 * This controller contains all handler for the login page ( the root path / ).
 */
@Controller
@RequestMapping(LoginController.CONTROLLER_PATH)
public class LoginController {

    public static final String CONTROLLER_PATH = "/";

    private static final Logger logger = LoggerFactory.getLogger(LoginController.class);

    @Inject
    private OsiamConnector connector;

    @Inject
    private GeneralSessionData generalSessionData;