单点登录:CAS模式

This commit is contained in:
click33
2021-06-24 18:00:54 +08:00
parent 6c874e6737
commit dd2665ceb1
30 changed files with 1309 additions and 9 deletions

View File

@@ -70,6 +70,14 @@ public class SaRequestForReactor implements SaRequest {
return request.getURI().getPath();
}
/**
* 返回当前请求的urlhttp://xxx.com/?id=127
* @return see note
*/
public String getUrl() {
return request.getURI().toString();
}
/**
* 返回当前请求的类型
*/

View File

@@ -73,6 +73,14 @@ public class SaRequestForServlet implements SaRequest {
return request.getServletPath();
}
/**
* 返回当前请求的urlhttp://xxx.com/?id=127
* @return see note
*/
public String getUrl() {
return request.getRequestURL().toString();
}
/**
* 返回当前请求的类型
*/

View File

@@ -40,6 +40,11 @@ public class SaRequestForSolon implements SaRequest {
return ctx.pathNew();
}
@Override
public String getUrl() {
return ctx.url();
}
@Override
public String getMethod() {
return ctx.method();