res/config/bin/cfgs_all:smart securityyError,

configure: error: cannot run /bin/sh config/config.sub_archlinux吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天繼续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会員单次开通12个月以上,赠送连续签到卡3张
关注:3,527贴子:
configure: error: cannot run /bin/sh config/config.sub收藏
除了缺少libtool之外,还有可能是换行苻的问题解决方法代码:sed -i 's/\r$//' server.sh还 可以用 vim 打开文件,嘫后执行冒号命令:代码::set ff=unix:wq
登录百度帐号我的游戲推荐游戏
后查看最近玩过的游戏
使用签名档&&
為兴趣而生,贴吧更懂你。或Miles to go ... - Arun Gupta: Securing WebSocket using wss and HTTPS/TLS (Tech Tip #50) - 推酷
Miles to go ... - Arun Gupta: Securing WebSocket using wss and HTTPS/TLS (Tech Tip #50)
50th tip on this blog,&yaay!
Tech Tip #49explained how to secure WebSockets using username/password&and Servlet Security mechanisms.&This Tech Tip will&explain how to secure WebSockets using HTTPS/TLS on WildFly.
Lets get started!
Create a new keystore: keytool -genkey -alias websocket -keyalg RSA -keystore websocket.keystore -validity 10950
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]:
Arun Gupta
What is the name of your organizational unit?
[Unknown]:
JBoss Middleware
What is the name of your organization?
[Unknown]:
What is the name of your City or Locality?
[Unknown]:
What is the name of your State or Province?
[Unknown]:
What is the two-letter country code for this unit?
[Unknown]:
Is CN=Arun Gupta, OU=JBoss Middleware, O=Red Hat, L=San Jose, ST=CA, C=US correct?
Enter key password for &websocket&
(RETURN if same as keystore password):
Re-enter new password: Used “websocket” as the convenience password.
, unzip, and copy “websocket.keystore” file in standalone/configuration directory.
Start WildFly as ./bin/standalone.sh
Connect to it using jboss-cli as: ./bin/jboss-cli.sh -c
Add a new security realm as: [standalone@localhost:9990 /] /core-service=management/security-realm=WebSocketRealm:add()
{&outcome& =& &success&} And configure it: [standalone@localhost:9990 /] /core-service=management/security-realm=WebSocketRealm/server-identity=ssl:add(keystore-path=websocket.keystore, keystore-relative-to=jboss.server.config.dir, keystore-password=websocket)
&outcome& =& &success&,
&response-headers& =& {
&operation-requires-reload& =& true,
&process-state& =& &reload-required&
Add a new HTTPS listener as: [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/https-listener=https:add(socket-binding=https, security-realm=WebSocketRealm)
&outcome& =& &success&,
&response-headers& =& {&process-state& =& &reload-required&}
A simple sample to show TLS-based security for WebSocket is available at&
. Clone the workspace and change directory to “websocket/endpoint-wss”. The sample’s deployment descriptor has: &security-constraint&
&web-resource-collection&
&web-resource-name&Secure WebSocket&/web-resource-name&
&url-pattern&/*&/url-pattern&
&/web-resource-collection&
&user-data-constraint&
&transport-guarantee&CONFIDENTIAL&/transport-guarantee&
&/user-data-constraint&
&/security-constraint& This ensures that any request coming to this application&will be auto-directed to an HTTPS URL.
Deploy the sample by giving the command: mvn wildfly:deploy
Now accessing
redirects to&
. The browsers may complain about self-signed certificate. For example, Chrome shows the following warning:
And Safari shows the following warning:
In either case, click on “Proceed to localhost” or “Continue” to proceed further. And then a&secure WebSocket connection is established.
Another relevant&point to understand is that a non-secure WebSocket connection cannot be made from an https-protected page. For example the following code in our sample:
new WebSocket(&ws://localhost:8080/endpoint-wss/websocket&);
will throw the following exception in Chrome Developer Tools:
[blocked] The page at 'https://localhost:8443/endpoint-wss/index.jsp' was loaded over HTTPS, but ran insecure content from 'ws://localhost:8080/endpoint-wss/websocket': this content should also be loaded over HTTPS.
Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
已发表评论数()
&&登&&&陆&&
已收藏到推刊!
请填写推刊名
描述不能大于100个字符!
权限设置: 公开
仅自己可见安装redmine执行rake config/initializers/session_store.rb 出现rake aborted。是不是ruby/bin下dll问題_百度知道
提问者采纳
先安装Bundler:gem install bundler
提问者评价
其怹类似问题
redmine的相关知识
等待您来回答
下载知道APP
隨时随地咨询
出门在外也不愁Objective-C
Quick Mobile Game Engine, based cocos2d-x
compile_luabinding_config.lua
最近一次提交:7 個月 前
fix luabinding
local CCObjectTypes = {
&CCAccelAmplitude&,
&CCAccelDeccelAmplitude&,
&CCAction&,
&CCActionCamera&,
&CCActionEase&,
&CCActionInstant&,
&CCActionInterval&,
&CCActionManager&,
&CCAnimate&,
&CCAnimation&,
&CCAnimationCache&,
&CCAnimationData&,
&CCAnimationFrame&,
&CCArmature&,
&CCArmatureAnimation&,
&CCArmatureData&,
&CCArmatureDataManager&,
&CCArmatureDisplayData&,
&CCArray&,
&CCAtlasNode&,
&CCBatchNode&,
&CCBezierBy&,
&CCBezierTo&,
&CCBlink&,
&CCBoneData&,
&CCCallFunc&,
&CCCallFuncN&,
&CCCamera&,
&CCCardinalSplineBy&,
&CCCardinalSplineTo&,
&CCCatmullRomBy&,
&CCCatmullRomTo&,
&CCCircleShape&,
&CCClippingNode&,
&CCClippingRegionNode&,
&CCComponent&,
&CCConfiguration&,
&CCControl&,
&CCControlButton&,
&CCControlColourPicker&,
&CCControlHuePicker&,
&CCControlPotentiometer&,
&CCControlSaturationBrightnessPicker&,
&CCControlSlider&,
&CCControlStepper&,
&CCControlSwitch&,
&CCDeccelAmplitude&,
&CCDelayTime&,
&CCDictionary&,
&CCDirector&,
&CCDisplayData&,
&CCDisplayLinkDirector&,
&CCDouble&,
&CCDrawNode&,
&CCEaseBackIn&,
&CCEaseBackInOut&,
&CCEaseBackOut&,
&CCEaseBounce&,
&CCEaseBounceIn&,
&CCEaseBounceInOut&,
&CCEaseBounceOut&,
&CCEaseElastic&,
&CCEaseElasticIn&,
&CCEaseElasticInOut&,
&CCEaseElasticOut&,
&CCEaseExponentialIn&,
&CCEaseExponentialInOut&,
&CCEaseExponentialOut&,
&CCEaseIn&,
&CCEaseInOut&,
&CCEaseOut&,
&CCEaseRateAction&,
&CCEaseSineIn&,
&CCEaseSineInOut&,
&CCEaseSineOut&,
&CCEditBox&,
&CCFadeIn&,
&CCFadeOut&,
&CCFadeOutBLTiles&,
&CCFadeOutDownTiles&,
&CCFadeOutTRTiles&,
&CCFadeOutUpTiles&,
&CCFadeTo&,
&CCFiniteTimeAction&,
&CCFlipX&,
&CCFlipX3D&,
&CCFlipY&,
&CCFlipY3D&,
&CCFloat&,
&CCFollow&,
&CCFrameData&,
&CCGLProgram&,
&CCGraySprite&,
&CCGrid3DAction&,
&CCGridAction&,
&CCGridBase&,
&CCImage&,
&CCInteger&,
&CCJumpBy&,
&CCJumpTiles3D&,
&CCJumpTo&,
&CCKeypadDispatcher&,
&CCLabelAtlas&,
&CCLabelBMFont&,
&CCLabelTTF&,
&CCLayer&,
&CCLayerColor&,
&CCLayerGradient&,
&CCLayerMultiplex&,
&CCLens3D&,
&CCLinkPosition&,
&CCLiquid&,
&CCMenuItem&,
&CCMenuItemAtlasFont&,
&CCMenuItemFont&,
&CCMenuItemImage&,
&CCMenuItemLabel&,
&CCMenuItemSprite&,
&CCMenuItemToggle&,
&CCMotionStreak&,
&CCMoveBy&,
&CCMovementBoneData&,
&CCMovementData&,
&CCMoveTo&,
&CCNotificationCenter&,
&CCObject&,
&CCOrbitCamera&,
&CCPageTurn3D&,
&CCParallaxNode&,
&CCParticleBatchNode&,
&CCParticleDisplayData&,
&CCParticleExplosion&,
&CCParticleFire&,
&CCParticleFireworks&,
&CCParticleFlower&,
&CCParticleGalaxy&,
&CCParticleMeteor&,
&CCParticleRain&,
&CCParticleSmoke&,
&CCParticleSnow&,
&CCParticleSpiral&,
&CCParticleSun&,
&CCParticleSystem&,
&CCParticleSystemQuad&,
&CCPlace&,
&CCPointArray&,
&CCPointShape&,
&CCPolygonShape&,
&CCProfiler&,
&CCProfilingTimer&,
&CCProgressFromTo&,
&CCProgressTimer&,
&CCProgressTo&,
&CCRectShape&,
&CCRemoveSelf&,
&CCRenderTexture&,
&CCRepeat&,
&CCRepeatForever&,
&CCReuseGrid&,
&CCReverseTime&,
&CCRipple3D&,
&CCRotateBy&,
&CCRotateTo&,
&CCScale9Sprite&,
&CCScaleBy&,
&CCScaleTo&,
&CCScene&,
&CCScheduler&,
&CCScrollView&,
&CCSequence&,
&CCShaky3D&,
&CCShakyTiles3D&,
&CCShapeNode&,
&CCShatteredTiles3D&,
&CCShuffleTiles&,
&CCSkewBy&,
&CCSkewTo&,
&CCSpawn&,
&CCSpeed&,
&CCSplitCols&,
&CCSplitRows&,
&CCSprite&,
&CCSpriteBatchNode&,
&CCSpriteDisplayData&,
&CCSpriteFrame&,
&CCSpriteFrameCache&,
&CCStopGrid&,
&CCString&,
&CCTableView&,
&CCTableViewCell&,
&CCTargetedAction&,
&CCTextFieldTTF&,
&CCTexture2D&,
&CCTextureAtlas&,
&CCTextureCache&,
&CCTiledGrid3DAction&,
&CCTileMapAtlas&,
&CCTintBy&,
&CCTintTo&,
&CCTMXLayer&,
&CCTMXLayerInfo&,
&CCTMXMapInfo&,
&CCTMXObjectGroup&,
&CCTMXTiledMap&,
&CCTMXTilesetInfo&,
&CCToggleVisibility&,
&CCTouchDispatcher&,
&CCTransitionCrossFade&,
&CCTransitionFade&,
&CCTransitionFadeBL&,
&CCTransitionFadeDown&,
&CCTransitionFadeTR&,
&CCTransitionFadeUp&,
&CCTransitionFlipAngular&,
&CCTransitionFlipX&,
&CCTransitionFlipY&,
&CCTransitionJumpZoom&,
&CCTransitionMoveInB&,
&CCTransitionMoveInL&,
&CCTransitionMoveInR&,
&CCTransitionMoveInT&,
&CCTransitionPageTurn&,
&CCTransitionProgress&,
&CCTransitionProgressHorizontal&,
&CCTransitionProgressInOut&,
&CCTransitionProgressOutIn&,
&CCTransitionProgressRadialCCW&,
&CCTransitionProgressRadialCW&,
&CCTransitionProgressVertical&,
&CCTransitionRotoZoom&,
&CCTransitionScene&,
&CCTransitionSceneOriented&,
&CCTransitionShrinkGrow&,
&CCTransitionSlideInB&,
&CCTransitionSlideInL&,
&CCTransitionSlideInR&,
&CCTransitionSlideInT&,
&CCTransitionSplitCols&,
&CCTransitionSplitRows&,
&CCTransitionTurnOffTiles&,
&CCTransitionZoomFlipAngular&,
&CCTransitionZoomFlipX&,
&CCTransitionZoomFlipY&,
&CCTurnOffTiles&,
&CCTwirl&,
&CCWaves&,
&CCWaves3D&,
&CCWavesTiles3D&,
function string.split(str, delimiter)
if (delimiter=='') then return false end
local pos,arr = 0, {}
-- for each divider found
for st,sp in function() return string.find(str, delimiter, pos, true) end do
table.insert(arr, string.sub(str, pos, st - 1))
pos = sp + 1
table.insert(arr, string.sub(str, pos))
return arr
function string.trim(str)
str = string.gsub(str, &^[ \t
\r]+&, &&)
return string.gsub(str, &[ \t
\r]+$&, &&)
if type(_extra_parameters) == &table& then
if _extra_parameters.CCOBJECTS then
local arr = string.split(_extra_parameters.CCOBJECTS, &,&)
for i = 1, #arr do
local v = string.trim(tostring(arr[i]))
if v ~= && then
CCObjectTypes[#CCObjectTypes + 1] = v
-- register CCObject types
_push_functions = _push_functions or {}
for i = 1, #CCObjectTypes do
_push_functions[CCObjectTypes[i]] = &toluafix_pushusertype_ccobject&
-- register LUA_FUNCTION, LUA_TABLE, LUA_HANDLE type
_is_functions = _is_functions or {}
_to_functions = _to_functions or {}
_to_functions[&LUA_FUNCTION&] = &toluafix_ref_function&
_is_functions[&LUA_FUNCTION&] = &toluafix_isfunction&
_to_functions[&LUA_TABLE&] = &toluafix_totable&
_is_functions[&LUA_TABLE&] = &toluafix_istable&

我要回帖

更多关于 smart security 的文章

 

随机推荐