Rework into a safe, demo-first JVM package for Maven Central#1
Merged
Conversation
Replace the Sejong login automation/scrapers with an in-memory demo provider and a small public API (CampusAuthClient, AuthProvider, AuthRequest, AuthResult, CampusMember, CampusRole, exceptions, DemoAuthProvider). Add a no-echo CLI, JUnit 5 tests, Maven Central publishing config (sources/javadoc/GPG/central plugin in a release profile), CI and manual release workflows, and rewritten docs. New coordinates io.github.usmanovmahmudkhan:campus-auth-java:0.1.0, Java 17. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reworks the project from a Sejong University login automation/scraper into a safe, educational/demo JVM package ready for Maven Central.
LegacyAuth, which posted real credentials to live endpoints and scraped authenticated session pages. Also dropped thejsoupdependency and the marketing docs site that described them.io.github.usmanovmahmudkhan.campusauth:CampusAuthClient,AuthProvider,AuthRequest,AuthResult,CampusMember,CampusRole,CampusAuthException,InvalidCredentialsException,ProviderUnavailableException, and the in-memoryDemoAuthProvider(defaultdemo-student/demo-password, constant-time compare).verify --provider demo --id <id>— reads the password without echo, never prints/logs it.pom.xmlfor Maven Central: coordinatesio.github.usmanovmahmudkhan:campus-auth-java:0.1.0, Java 17, sources/javadoc jars, GPG signing +central-publishing-maven-pluginin areleaseprofile.mvn -B clean verify) and manualworkflow_dispatchrelease.Verification
mvn -B clean verifypasses (23 tests); runnable CLI jar verified manually.Notes
Not yet published to Maven Central. Namespace
io.github.usmanovmahmudkhanis verified on the Sonatype Central Portal.🤖 Generated with Claude Code