This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@EnableWebMvcSecurity | |
public class WebSecurityConfig extends WebSecurityConfigurerAdapter { | |
@Bean | |
public ServiceProperties serviceProperties() { | |
ServiceProperties serviceProperties = new ServiceProperties(); | |
serviceProperties.setService("https://localhost:8443/cas-sample/j_spring_cas_security_check"); | |
serviceProperties.setSendRenew(false); | |
return serviceProperties; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG] org.jasig.cas.client.validation.Saml11TicketValidator - Loading custom parameters from configuration. | |
[DEBUG] org.jasig.cas.client.validation.Saml11TicketValidator - Constructing validation url: https://srvsionline1.no-ip.org:8443/governa-cas/samlValidate?TARGET=http%3A%2F%2Flocalhost%3A8080%2Fj_spring_cas_security_check | |
[DEBUG] org.jasig.cas.client.validation.Saml11TicketValidator - Retrieving response from server. | |
[DEBUG] sun.net.www.protocol.http.HttpURLConnection - sun.net.www.MessageHeader@2004df0510 pairs: {POST /governa-cas/samlValidate?TARGET=http%3A%2F%2Flocalhost%3A8080%2Fj_spring_cas_security_check HTTP/1.1: null}{Content-Type: text/xml}{SOAPAction: http://www.oasis-open.org/committees/security}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.7.0_60}{Host: srvsionline1.no-ip.org:8443}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}{Content-Length: 436} | |
[DEBUG] sun.net.www.protocol.http.HttpURLConnection - sun.net.www.MessageHeader@1fcdd1af |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.pesquisar = function() { | |
var orgaosManager = $scope.orgaosManager = {}; | |
orgaosManager.all = Restangular.all('orgaoAtendimento'); | |
// orgaosManager.currentPage = 0; | |
// orgaosManager.pages = 0; | |
// orgaosManager.current = {}; | |
// orgaosManager.location = $location; | |
orgaosManager.pageSize = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── Gruntfile.js | |
├── README.md | |
├── bower.json | |
├── package.json | |
├── pom.xml | |
├── spring_loaded | |
│ └── springloaded-jhipster.jar | |
├── src | |
│ ├── main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
angular.module('MODULE_NAME_HERE') | |
.factory('FirebaseStrapSelect', function (syncData, $filter, $q) { | |
return function (fireBasePath){ | |
var | |
defer = $q.defer(), | |
buildingTypeSelectObject = [], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng-repeat="item in newItens = (itensByType[type] | filter:{type:'new'})" | |
using: | |
{{newItens.length}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var couchapp = require('couchapp'), | |
path = require('path'), | |
ddoc = { | |
_id: '_design/app', | |
views: {}, | |
lists: {}, | |
shows: {}, | |
fulltext: {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
, | |
replace: { | |
app: { | |
src: ['dist/index.html'], | |
overwrite: true, | |
replacements: [{ | |
from: '##build##', | |
to: 'Version: <%= pkg.version %> Build: <%= grunt.template.today(\'dd/mm/yyyy hh:MM:ss\') %>' | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
<input b-datepicker="{{dateOptions}}" ng-model="dateObject" > | |
$scope.dateOptions = {format: 'dd/mm/yyyy'} | |
*/ | |
angular.module('bDatepicker', []). | |
directive('bDatepicker', function(){ | |
return { | |
require: '?ngModel', | |
restrict: 'A', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.registerTask('deploy', [ | |
'build', | |
'push' | |
]); | |
grunt.registerTask('push', 'push app to couchdb', function () { | |
var done = this.async(); | |
// require('child_process').exec('couchapp push couchapp.dist.conf.js http://10.16.200.21:5985/cosmos', function (err, stdout) { | |
require('child_process').exec('node_modules/couchapp/bin.js push couchapp.conf.js http://localhost:5984/ad', function (err, stdout) { | |
// require('child_process').exec('couchapp push couchapp.conf.js http://172.24.0.19/cosmos', function (err, stdout) { |