[jboss-cvs] JBossAS SVN: r114531 - in branches/JBPAPP_5: tomcat/src/main/org/jboss/web/tomcat/security and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 10 22:58:59 EDT 2013
Author: soul2zimate
Date: 2013-10-10 22:58:58 -0400 (Thu, 10 Oct 2013)
New Revision: 114531
Modified:
branches/JBPAPP_5/testsuite/src/main/org/jboss/test/web/security/GenericHeaderAuthUnitTestCase.java
branches/JBPAPP_5/tomcat/src/main/org/jboss/web/tomcat/security/JBossGenericPrincipal.java
Log:
[JBPAPP-10737], Change access level in JBossGenericPrinical
Modified: branches/JBPAPP_5/testsuite/src/main/org/jboss/test/web/security/GenericHeaderAuthUnitTestCase.java
===================================================================
--- branches/JBPAPP_5/testsuite/src/main/org/jboss/test/web/security/GenericHeaderAuthUnitTestCase.java 2013-10-09 16:48:08 UTC (rev 114530)
+++ branches/JBPAPP_5/testsuite/src/main/org/jboss/test/web/security/GenericHeaderAuthUnitTestCase.java 2013-10-11 02:58:58 UTC (rev 114531)
@@ -204,6 +204,7 @@
assertTrue("Unexpected response code received: " + responseCode, responseCode == HttpURLConnection.HTTP_OK);
// check that access to the secure servlet has been granted
String body = method.getResponseBodyAsString();
+ System.err.println("body is : " + body);
assertTrue("Access to SecureServlet has not been granted", body.indexOf("SecureServlet") > 0);
}
finally
Modified: branches/JBPAPP_5/tomcat/src/main/org/jboss/web/tomcat/security/JBossGenericPrincipal.java
===================================================================
--- branches/JBPAPP_5/tomcat/src/main/org/jboss/web/tomcat/security/JBossGenericPrincipal.java 2013-10-09 16:48:08 UTC (rev 114530)
+++ branches/JBPAPP_5/tomcat/src/main/org/jboss/web/tomcat/security/JBossGenericPrincipal.java 2013-10-11 02:58:58 UTC (rev 114531)
@@ -64,7 +64,7 @@
* @param roles - the List<String> of the role names assigned to the subject
* @param userRoles - the Set<Principal> of the roles assigned to the subject
*/
- JBossGenericPrincipal(Realm realm, Subject subject,
+ public JBossGenericPrincipal(Realm realm, Subject subject,
Principal authPrincipal, Principal callerPrincipal,
Object credentials, List roles, Set userRoles)
{
@@ -76,7 +76,7 @@
this.userRoles = userRoles;
}
- Principal getAuthPrincipal()
+ public Principal getAuthPrincipal()
{
return this.authPrincipal;
}
@@ -85,7 +85,7 @@
*
* @return the value of principal
*/
- Principal getCallerPrincipal()
+ public Principal getCallerPrincipal()
{
return this.callerPrincipal;
}
@@ -100,7 +100,7 @@
return this.credentials;
}
- Subject getSubject()
+ public Subject getSubject()
{
return subject;
}
More information about the jboss-cvs-commits
mailing list