fix error in developer code
This commit is contained in:
parent
f05becdca6
commit
ae8b6b8965
@ -52,7 +52,7 @@ public class RemoteCASHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getServiceTicket(String location, String service) {
|
public String getServiceTicket(String location, String service) {
|
||||||
if (location.startsWith("granting:")) {
|
if (location != null && location.startsWith("granting:")) {
|
||||||
return "user:" + location.substring(9);
|
return "user:" + location.substring(9);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user