java


While doing system print out in JBOSS , what is the “-X” number at the end of the domain ? how does it affect SSO?


I am asking this question because I'm working on JBOSS with Single Sign On.
I try to create a function that can check user's authorization when a link is click.
((HttpServletRequest)this.request.getContainerRequest()).isUserInRole(role)
But when I click it, it only shows true intervally.
ex:true->false->true->false->true....
It seems its still works in some way because if I change the role it check to something Im not in then it will always shown false.
I noticed that in the [stdout] that print everytime I click, there is a -number follow the localhost:Port,
[stdout] (http-localhost/127.0.0.1:5080-2) true
[stdout] (http-localhost/127.0.0.1:5080-1) false
[stdout] (http-localhost/127.0.0.1:5080-2) true
.....
When its 2 it return true, if not its false. It keep cycling.
Do anyone know what does this number means? and why is this happening?

Related Links

Fetch text till the second parenthesis in Java
Instruct OWASP HTML Sanitizer to preserve table structure
combining result set of three query into one in java, sql, derby db
Read multiple data from client socket
Java google checkstyle Maven
Nested Loop in Java, output
Android studio error in stack trace
Show back button with getSupportActionBar
What is the correct way to override an interface method to ensure that it can only be used on objects of identical types?
Why does postfix increment in Java is showing answer as 100 instead of 101
How to get a byte from the image by getPixels
Apply and OK Button in Eclipse PreferencePage
What's wrong with my LRUCache code
how to update specific row
Java sockets - Client doesn't read the strings from server's socket
Drawing Lines in a JFrame using a separate method

Categories

HOME
twitter
jdo
isabelle
tizen
nullpointerexception
plot
sharepoint-designer
twitter-bootstrap-4
sqlite3
jgroups
upload
kibana-4
dax
numeral.js
task
visual-studio-2005
windows-server-2012
ups
try-catch
workload-scheduler
fatal-error
finite-automata
google-cloud-speech
crystal-reports-2008
lucene.net
clickonce
physics-engine
sox
bootstrap-tour
autosys
icloud-api
selectedindexchanged
internet-explorer-9
jaxb2
bluestacks
fabric8
exuberant-ctags
calibre
kendo-ui-grid
overriding
adobe-premiere
hilbert-curve
impersonation
lumberjack
dynamic-reports
quadratic-programming
.net-4.6.2
slick-3.0
businessworks
websphere-mq-fte
osx-mavericks
pnotify
winscp-net
veracode
android-cursor
nbconvert
objective-c-swift-bridge
xcb
file-writing
mikroc
transmitfile
bstr
sigabrt
make-install
livequery
independentsoft
system.management
mutation-observers
nsight
unity5.2.3
block-device
clicktag
ng-animate
coldbox
angularjs-ng-click
issuu
project-planning
aapt
fluentautomation
rtmfp
cloud-connect
ms-project-server-2010
yui-compressor
random-seed
plasma
cassini-dev
free-variable
quickdialog
dice
osql
mod-auth
hamachi
disclosure
mozilla-prism
ext3
zend-tool
mediarss
multiple-languages

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App