-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jans-auth-server): Draft support of OpenID Connect Native SSO (#…
…2711) * feat(jans-auth-server): added device secret generation #2518 * feat(jans-auth-server): do not process request if token exchange grant type is not present Native SSO #2518 * fix(jans-auth-server): sonar smell fix Native SSO #2518 * feat(jans-auth-server): added validation of subject token type and actor token type Native SSO #2518 * feat(jans-auth-server): added token exchange grant Native SSO #2518 * fix(jans-auth-server): sonar smell - removed empty constructor Native SSO #2518 * fix(jans-auth-server): introduced TokenExchangeService Native SSO #2518 * feat(jans-auth-server): added deviceSecret to indexes Native SSO #2518 * feat(jans-auth-server): draft implementation of native sso Native SSO #2518
- Loading branch information
Showing
28 changed files
with
1,003 additions
and
114 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
20 changes: 20 additions & 0 deletions
20
jans-auth-server/server/src/main/java/io/jans/as/server/model/common/TokenExchangeGrant.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package io.jans.as.server.model.common; | ||
|
||
import io.jans.as.common.model.common.User; | ||
import io.jans.as.common.model.registration.Client; | ||
import io.jans.as.model.common.GrantType; | ||
|
||
/** | ||
* @author Yuriy Z | ||
*/ | ||
public class TokenExchangeGrant extends AuthorizationGrant { | ||
|
||
public void init(User user, Client client) { | ||
super.init(user, AuthorizationGrantType.TOKEN_EXCHANGE, client, null); | ||
} | ||
|
||
@Override | ||
public GrantType getGrantType() { | ||
return GrantType.TOKEN_EXCHANGE; | ||
} | ||
} |
This file contains 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
Oops, something went wrong.