mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
bug fixing
This commit is contained in:
parent
a418fe5d0d
commit
bdb01a0098
@ -240,7 +240,7 @@ public class AnnotationProcessor {
|
||||
subCtx = makeContextURLReady(resourceRootContext) + makeContextURLReady(subCtx);
|
||||
}
|
||||
permission.setUrl(replaceDynamicPathVariables(subCtx));
|
||||
permission.setUrlPattern(permission.getUrl().replace("*", "[a-zA-Z0-9-_]+"));
|
||||
permission.setUrlPattern(permission.getUrl().replace("*", "[a-zA-Z0-9-_.]+"));
|
||||
String httpMethod;
|
||||
for (int i = 0; i < annotations.length; i++) {
|
||||
httpMethod = getHTTPMethodAnnotation(annotations[i]);
|
||||
|
||||
@ -17,13 +17,13 @@
|
||||
#
|
||||
|
||||
#issuer of the JWT
|
||||
iss=wso2.org/products/iot
|
||||
iss=https://localhost:9443/oauth2/token
|
||||
|
||||
TokenEndpoint=https://${iot.gateway.host}:${iot.gateway.https.port}/token?tenantDomain=carbon.super
|
||||
|
||||
#audience of JWT claim
|
||||
#comma seperated values
|
||||
aud=devicemgt
|
||||
aud=https://localhost:9443/oauth2/token
|
||||
|
||||
#expiration time of JWT (number of minutes from the current time)
|
||||
exp=1000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user