mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
fix and enable junit test createSessionAnonymousTest
This commit is contained in:
@@ -49,7 +49,11 @@ public class ScmUrlProvider
|
||||
public static final String API_PATH = "/api/rest/";
|
||||
|
||||
/** Field description */
|
||||
public static final String URLPART_AUTHENTICATION = "authentication/login";
|
||||
public static final String URLPART_AUTHENTICATION = "authentication";
|
||||
|
||||
/** Field description */
|
||||
public static final String URLPART_AUTHENTICATION_LOGIN =
|
||||
"authentication/login";
|
||||
|
||||
/** Field description */
|
||||
public static final String URLPART_REPOSITORIES = "repositories";
|
||||
@@ -88,6 +92,17 @@ public class ScmUrlProvider
|
||||
|
||||
//~--- get methods ----------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getAuthenticationLoginUrl()
|
||||
{
|
||||
return getResourceUrl(URLPART_AUTHENTICATION_LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user