protected String getRegisteredServiceJwtProperty ( final RegisteredService service , final RegisteredServiceProperty . RegisteredServiceProperties propName ) { if ( service == null || ! service . getAccessStrategy ( ) . isServiceAccessAllowed ( ) ) { LOGGER . debug ( "Service is not defined/found or its access is disabled in the registry" ) ; throw new UnauthorizedServiceException ( UnauthorizedServiceException . CODE_UNAUTHZ_SERVICE ) ; } if ( propName . isAssignedTo ( service ) ) { return propName . getPropertyValue ( service ) . getValue ( ) ; } LOGGER . warn ( "Service [{}] does not define a property [{}] in the registry" , service . getServiceId ( ) , propName ) ; return null ; }
Gets registered service jwt secret .