Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/IAMSE-1531 #3

Open
wants to merge 142 commits into
base: 2.6-externalauth
Choose a base branch
from
Open

feature/IAMSE-1531 #3

wants to merge 142 commits into from

Conversation

chasegawa
Copy link

Code preview of changes to make the external authorization workable in the plugin pattern

scalding and others added 3 commits November 9, 2021 08:57
fix call to `getMemberships` with proper parameter
updating pom with new parent
refactored code to be accessed plugin style
@chasegawa chasegawa requested a review from scalding April 1, 2022 22:10
@chasegawa chasegawa self-assigned this Apr 1, 2022
initialing the config
@chasegawa
Copy link
Author

In the GROUPER core:

  • CommonServletContainerInitializer will (first) initialize the external auth filters (if the configuration is enabled).
  • External auth filters are simple delegates that will use the plugin manager to get the correct delegate classes
  • If the plugin is missing or mis-configured, the delegate filters should not impact anything - they will default to pass-through behavior
  • added additional properties to the grouper.base.properties (commented out examples). This does not replace or include the actual external authentication properties, just the PLUGIN needed properties

In the grouper-authentication:

  • eliminated the configuration class and moved the timer behavior to initialization within each of the FilterDecorators
  • Two FilterDecorators: one each for Security and Callback. The decorators decorate the filters with the re-initialization behavior

mchyzer and others added 4 commits April 3, 2022 19:15
Refactored packages.
Update to pom and added additional pom file following plugin packaging instructions.
<groupId>${project.groupId}</groupId>
<artifactId>grouper-ui</artifactId>
<version>${grouper.version}</version>
<scope>provided</scope>
Copy link
Author

@chasegawa chasegawa Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (scope=provided anywhere) might need to be removed. Since this is a different classloader, this stuff probably needs to be packaged in with the plugin

scalding and others added 30 commits June 7, 2022 12:17
allow configurability
update osgi
use services
move osgi initialization
add missing file
update servlet api version
Grouper Start at servlet container initialization
actually add the change to use a temp directory for osgi cache :-D
remove unneeded cross joins
# Conflicts:
#	grouper-misc/webapp/grouper-ui-webapp/pom.xml
#	grouper-misc/webapp/grouper-ui-webapp/src/test/resources/grouper.properties
#	grouper-parent/pom.xml
#	grouper/src/grouper/edu/internet2/middleware/grouper/j2ee/CommonServletContainerInitializer.java
#	grouper/src/grouper/edu/internet2/middleware/grouper/plugins/BundleStarter.java
#	grouper/src/grouper/edu/internet2/middleware/grouper/plugins/FrameworkStarter.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants