SECURITY-859 always report the cause of authentication failure at debug level
Merge pull request #13 from istudens/SECURITY-859

SECURITY-859 always report the cause of authentication failure at debug level
Remove IDEA project file
SecurityActions classes should not be public
setting release version
[SECURITY-851] additional testcase for Base64Utils class
[BZ1142732] Test related to the Base64 fallback
[BZ1142732] Fallback from faulty generated base64 strings. Including
warning log message.
Conflicts:
	security-spi/common/src/main/java/org/jboss/security/PicketBoxLogger.java
Merge pull request #15 from pskopek/SECURITY-860

Fallback for faulty base64 encoded masked passwords
Add logout() to the AuthenticationManager interface
SECURITY-787 Speed up SimpleRole#equals

We did some profiling of our JBoss AS instance and `SimpleRole#equals`
showed up as a hot method. A lot of time seems to be spent in
`java.lang.Class.cast(Object)`. Switching to a normal Java cast should
fix this since we're inside an `instanceof` and it always succeeds.

 * use normal cast in `SimpleRole#equals` instead of
   `java.lang.Class.cast`
 * add short circuit case for `this`

Issue: SECURITY-787
https://issues.jboss.org/browse/SECURITY-787
SECURITY-786 Improve Memory Performance

We did some profiling of or JBoss AS instance and noticed that audit
logging on JavaEE resources is causing most of our allocations outside
[TLAB] [1] s. This was a bit surprising to use since we don't have audit
logging on. We tracked them down to
`org.jboss.security.javaee.AbstractJavaEEHelper.authorizationAudit`
which unnecessarily does an eager string conversion of every
`org.jboss.security.authorization.Resource`. This could be done lazily
on demand when audit logging is on in `AuditEvent#toString`. Since the
map is already of type `Map&lt;String,Object&gt;` simply removing the
call to `#toString()` fixes this.

 * don't do eager string conversion of resources in
   `AbstractJavaEEHelper#authorizationAudit`

 [1]: http://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html#TLAB

Issue: SECURITY-786
https://issues.jboss.org/browse/SECURITY-786
SECURITY-863 LogAuditProvider allocates too much

`LogAuditProvider` always logs the `AuditEvent` even if audit logging
is disabled. This means the `AuditEvent` is always converted to a
`String` even if the trace log level is disabled. The profiled our
application and this causes a lot of allocations outside of TLABs for
us even though we have audit logging disabled.

 * don't log if the trace level is disabled

Issue: SECURITY-863
https://issues.jboss.org/browse/SECURITY-863
Merge pull request #17 from marschall/SECURITY-786

Merged, thanks! SECURITY-786 Improve Memory Performance
Merge pull request #19 from marschall/SECURITY-863

SECURITY-863 LogAuditProvider allocates too much
Merge pull request #18 from marschall/SECURITY-787

SECURITY-787 Speed up SimpleRole#equals
Update PicketBoxMessages.java
Merge pull request #20 from rosiecki/patch-2

Update PicketBoxMessages.java
[BZ1146006] Adding possibility to specify JBoss Module in external Vault password specification using {CLASS@module_name}class_name.
(cherry picked from commit f955114)
[BZ1146006] Adding possibility to specify JBoss Module in external Vault password specification using {CLASS@module_name}class_name.
(cherry picked from commit f955114)