forked from italia/spid-cie-oidc-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
452 additions
and
1 deletion.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...src/main/java/it/spid/cie/oidc/spring/boot/relying/party/controller/PolicyController.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,29 @@ | ||
package it.spid.cie.oidc.spring.boot.relying.party.controller; | ||
|
||
import java.util.List; | ||
|
||
import javax.servlet.http.HttpServletRequest; | ||
|
||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.web.bind.annotation.GetMapping; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
import org.springframework.web.servlet.ModelAndView; | ||
|
||
import it.spid.cie.oidc.schemas.OIDCProfile; | ||
import it.spid.cie.oidc.schemas.ProviderButtonInfo; | ||
import it.spid.cie.oidc.spring.boot.relying.party.RelyingPartyWrapper; | ||
|
||
@RestController | ||
@RequestMapping("/oidc/rp") | ||
public class PolicyController { | ||
@GetMapping("/policy") | ||
public ModelAndView home(HttpServletRequest request) | ||
throws Exception { | ||
|
||
ModelAndView mav = new ModelAndView("policy"); | ||
|
||
return mav; | ||
} | ||
|
||
} |
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.