Created
April 5, 2017 08:05
-
-
Save amadeobrands/a132dcaa1eded687c39a847a9cc89c06 to your computer and use it in GitHub Desktop.
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
| public class OpenIDHandler extends RequestHandler { | |
| public enum ResponseType { | |
| INTERNAL_SERVER_ERROR("Internal Server Error", IMxRuntimeResponse.INTERNAL_SERVER_ERROR), | |
| UNAUTHORIZED("Unauthorized", IMxRuntimeResponse.UNAUTHORIZED); | |
| String title; | |
| int status; | |
| ResponseType(String title, int httpStatus) { | |
| this.title = title; | |
| this.status = httpStatus; | |
| } | |
| } | |
| public OpenIDHandler() { | |
| if (!OPENID_ENABLED) { | |
| log.info("NOT starting OpenId handler, disabled by configuration"); | |
| } else { | |
| reconnectToMxID(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment