9144866e493619d3eb0d5c0164d4421fc0c1406b
Files Diff
- Added: 9
- Removed: 3
- Renamed: 0
- Modified: 36
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public invalidateSession(context J2EContext) : void renamed to public destroySession(context J2EContext) : boolean in class org.pac4j.core.context.session.J2ESessionStore | From | To | |
Rename Method public invalidationSession() : void renamed to public getSessionStore() : SessionStore in class org.pac4j.core.context.WebContext | From | To | |
Pull Up Method | 3 | ||
Pull Up Method public getSessionIdentifier() : Object from class org.pac4j.core.context.J2EContext to public getSessionIdentifier() : Object from class org.pac4j.core.context.WebContext | From | To | |
Pull Up Method public setSessionAttribute(name String, value Object) : void from class org.pac4j.core.context.J2EContext to public setSessionAttribute(name String, value Object) : void from class org.pac4j.core.context.WebContext | From | To | |
Pull Up Method public getSessionAttribute(name String) : Object from class org.pac4j.core.context.J2EContext to public getSessionAttribute(name String) : Object from class org.pac4j.core.context.WebContext | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public invalidateSession(context C) : void from class org.pac4j.core.context.session.SessionStore to public setSessionStore(sessionStore SessionStore) : void from class org.pac4j.core.context.WebContext | From | To | |
Change Parameter Type | 7 | ||
Change Parameter Type timeout : long to timeout : int in method public setTimeout(timeout int) : void in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Change Parameter Type timeout : long to timeout : int in method public LocalCachingAuthenticator(delegate Authenticator<T>, cacheSize int, timeout int, timeUnit TimeUnit) in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Change Parameter Type context : WebContext to context : MockWebContext in method public set(context MockWebContext, key String, value Object) : void in class org.pac4j.core.context.session.MockSessionStore | From | To | |
Change Parameter Type context : WebContext to context : MockWebContext in method public get(context MockWebContext, key String) : Object in class org.pac4j.core.context.session.MockSessionStore | From | To | |
Change Parameter Type cacheSize : long to cacheSize : int in method public LocalCachingAuthenticator(delegate Authenticator<T>, cacheSize int, timeout int, timeUnit TimeUnit) in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Change Parameter Type cacheSize : long to cacheSize : int in method public setCacheSize(cacheSize int) : void in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Change Parameter Type context : C to sessionStore : SessionStore in method public setSessionStore(sessionStore SessionStore) : void in class org.pac4j.core.context.WebContext | From | To | |
Move Method | 4 | ||
Move Method public toString() : String from class org.pac4j.cas.credentials.extractor.TicketAndLogoutRequestExtractor to public toString() : String from class org.pac4j.core.store.GuavaStore | From | To | |
Move Method protected renewSession(context J2EContext) : void from class org.pac4j.core.engine.J2ERenewSessionCallbackLogic to public renewSession(context J2EContext) : boolean from class org.pac4j.core.context.session.J2ESessionStore | From | To | |
Move Method public toString() : String from class org.pac4j.cas.redirect.CasRedirectActionBuilder to public toString() : String from class org.pac4j.core.store.GuavaStore | From | To | |
Move Method public toString() : String from class org.pac4j.cas.credentials.authenticator.CasAuthenticator to public toString() : String from class org.pac4j.core.store.GuavaStore | From | To | |
Inline Method | 1 | ||
Inline Method protected postLogout(context C) : void inlined to public perform(context C, config Config, httpActionAdapter HttpActionAdapter<R,C>, defaultUrl String, inputLogoutUrlPattern String, inputLocalLogout Boolean, inputDestroySession Boolean, inputCentralLogout Boolean) : R in class org.pac4j.core.engine.DefaultLogoutLogic | From | To | |
Change Return Type | 6 | ||
Change Return Type SessionStore<J2EContext> to SessionStore in method public getSessionStore() : SessionStore in class org.pac4j.core.context.J2EContext | From | To | |
Change Return Type void to boolean in method public renewSession(context J2EContext) : boolean in class org.pac4j.core.context.session.J2ESessionStore | From | To | |
Change Return Type long to int in method public getTimeout() : int in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Change Return Type void to boolean in method public destroySession(context J2EContext) : boolean in class org.pac4j.core.context.session.J2ESessionStore | From | To | |
Change Return Type void to SessionStore in method public getSessionStore() : SessionStore in class org.pac4j.core.context.WebContext | From | To | |
Change Return Type long to int in method public getCacheSize() : int in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Rename Attribute | 2 | ||
Rename Attribute session : WebContext to context : WebContext in class org.pac4j.saml.storage.HttpSessionStorage | From | To | |
Rename Attribute proxyGrantingTicketStorage : ProxyGrantingTicketStorage to store : Store<String,String> in class org.pac4j.cas.client.CasProxyReceptor | From | To | |
Extract Variable | 1 | ||
Extract Variable logoutHandler : CasLogoutHandler in method public extract(context WebContext) : TokenCredentials from class org.pac4j.cas.credentials.extractor.TicketAndLogoutRequestExtractor | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type proxyGrantingTicketStorage : ProxyGrantingTicketStorage to store : Store<String,String> in class org.pac4j.cas.client.CasProxyReceptor | From | To | |
Change Attribute Type cacheSize : long to cacheSize : int in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Change Attribute Type timeout : long to timeout : int in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator | From | To | |
Rename Parameter | 5 | ||
Rename Parameter oidcConfiguration : OidcConfiguration to configuration : OidcConfiguration in method public setConfiguration(configuration OidcConfiguration) : void in class org.pac4j.oidc.client.OidcClient | From | To | |
Rename Parameter request : WebContext to context : WebContext in method public HttpSessionStorage(context WebContext) in class org.pac4j.saml.storage.HttpSessionStorage | From | To | |
Rename Parameter oidcConfiguration : OidcConfiguration to configuration : OidcConfiguration in method public OidcClient(configuration OidcConfiguration) in class org.pac4j.oidc.client.OidcClient | From | To | |
Rename Parameter casConfiguration : CasConfiguration to configuration : CasConfiguration in method public CasClient(configuration CasConfiguration) in class org.pac4j.cas.client.CasClient | From | To | |
Rename Parameter context : C to sessionStore : SessionStore in method public setSessionStore(sessionStore SessionStore) : void in class org.pac4j.core.context.WebContext | From | To |