After updating my workspace today I'm seeing compile errors in the
org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn due to a change in the base
org.apache.catalina.authenticator.SingleSignOn. It appears a number of protected methods
have been made public:
| compile-classes:
| [javac] Compiling 35 source files to
/home/svn/JBossHead/jboss-head/tomcat/output/classes
|
/home/svn/JBossHead/jboss-head/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java:325:
cannot find symbol
| symbol : method getEmptySessionPath()
| location: class org.apache.catalina.connector.Connector
| if (!connector.getEmptySessionPath() && (context != null)) {
| ^
|
/home/svn/JBossHead/jboss-head/tomcat/src/main/org/jboss/web/tomcat/service/sso/ClusteredSingleSignOn.java:687:
associate(java.lang.String,org.apache.catalina.Session) in
org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn cannot override
associate(java.lang.String,org.apache.catalina.Session) in
org.apache.catalina.authenticator.SingleSignOn; attempting to assign weaker access
privileges; was public
| protected void associate(String ssoId, Session session)
| ^
|
/home/svn/JBossHead/jboss-head/tomcat/src/main/org/jboss/web/tomcat/service/sso/ClusteredSingleSignOn.java:793:
deregister(java.lang.String) in org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn
cannot override deregister(java.lang.String) in
org.apache.catalina.authenticator.SingleSignOn; attempting to assign weaker access
privileges; was public
| protected void deregister(String ssoId)
| ^
|
/home/svn/JBossHead/jboss-head/tomcat/src/main/org/jboss/web/tomcat/service/sso/ClusteredSingleSignOn.java:897:
reauthenticate(java.lang.String,org.apache.catalina.Realm,org.apache.catalina.connector.Request)
in org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn cannot override
reauthenticate(java.lang.String,org.apache.catalina.Realm,org.apache.catalina.connector.Request)
in org.apache.catalina.authenticator.SingleSignOn; attempting to assign weaker access
privileges; was public
| protected boolean reauthenticate(String ssoId, Realm realm,
| ^
|
/home/svn/JBossHead/jboss-head/tomcat/src/main/org/jboss/web/tomcat/service/sso/ClusteredSingleSignOn.java:944:
register(java.lang.String,java.security.Principal,java.lang.String,java.lang.String,java.lang.String)
in org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn cannot override
register(java.lang.String,java.security.Principal,java.lang.String,java.lang.String,java.lang.String)
in org.apache.catalina.authenticator.SingleSignOn; attempting to assign weaker access
privileges; was public
| protected void register(String ssoId, Principal principal, String authType,
| ^
| Note: Some input files use or override a deprecated API.
| Note: Recompile with -Xlint:deprecation for details.
| Note: Some input files use unchecked or unsafe operations.
| Note: Recompile with -Xlint:unchecked for details.
| 5 errors
|
I'll change these for now, but whether this change is expected is the question.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098513#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...