IDSDEV-678-Add New Publishing Points for Token Failure#256
Open
tharsigam wants to merge 59 commits intoWSO2Telco:mig-release-2.2.0-integrationfrom
Open
IDSDEV-678-Add New Publishing Points for Token Failure#256tharsigam wants to merge 59 commits intoWSO2Telco:mig-release-2.2.0-integrationfrom
tharsigam wants to merge 59 commits intoWSO2Telco:mig-release-2.2.0-integrationfrom
Conversation
IDSDEV-365 Mobile Connect Request Validator Capability in IDGW Related Development
…en creating SP when there is no SP available in the SP store,Bug fixed when taking token code from the SP which are created locally using UI
IDSDEV-548 Bug fixes for updating sp-configuration table,Bug fixed wh…
* DB Wiring done * Multiple scope fix * Pom fix
| #tc_checkbox { | ||
| /* Double-sized Checkboxes */ | ||
| -ms-transform: scale(1.5); /* IE */ | ||
| -moz-transform: scale(1.5); /* FF */ |
| /* Double-sized Checkboxes */ | ||
| -ms-transform: scale(1.5); /* IE */ | ||
| -moz-transform: scale(1.5); /* FF */ | ||
| -webkit-transform: scale(1.5); /* Safari and Chrome */ |
| -ms-transform: scale(1.5); /* IE */ | ||
| -moz-transform: scale(1.5); /* FF */ | ||
| -webkit-transform: scale(1.5); /* Safari and Chrome */ | ||
| -o-transform: scale(1.5); /* Opera */ |
| } | ||
|
|
||
| .btn-danger { | ||
| color: #fff !important; |
| } | ||
|
|
||
| .btn-normal { | ||
| color: #fff !important; |
|
|
||
| .btn-normal { | ||
| color: #fff !important; | ||
| background-color:#463F61 !important; |
| .btn-normal { | ||
| color: #fff !important; | ||
| background-color:#463F61 !important; | ||
| border-color: #463F61 !important; |
| color: #fff !important; | ||
| background-color:#463F61 !important; | ||
| border-color: #463F61 !important; | ||
| margin-top: 6px !important; |
| margin-bottom: -1px; | ||
| background-color: #fff; | ||
| border: 1px solid #ddd; | ||
| border-left: 0px; |
|
|
||
|
|
||
| .fa.pull-right { | ||
| margin-top: 0.5em; |
| DBUtil.insertConsentHistoryDetails(msisdn, apprScope, clientID, operatorID, "approve"); | ||
| } | ||
| } catch (SQLException | NamingException e) { | ||
| e.printStackTrace(); |
| * .application.authentication.framework.context.AuthenticationContext) | ||
| */ | ||
| @Override | ||
| public AuthenticatorFlowStatus process(HttpServletRequest request, HttpServletResponse response, |
| else if(context.getProperty(Constants.APPROVED_ALL_SCOPES)!=null){ | ||
| String approvedScopesString = context.getProperty(Constants.APPROVED_ALL_SCOPES).toString(); | ||
| String approvedScopesStringMinBracket = approvedScopesString.substring( 1, approvedScopesString.length() - 1); | ||
| String[] approved_scopes = approvedScopesStringMinBracket.split( ", "); |
| import com.wso2telco.ids.datapublisher.model.UserStatus; | ||
| import com.wso2telco.ids.datapublisher.util.DataPublisherUtil; | ||
|
|
||
| // TODO: Auto-generated Javadoc |
| case Constants.APPROVEALL: | ||
| String scopesString = context.getProperty(Constants.APPROVED_ALL_SCOPES).toString(); | ||
| String scopesStringMinBracket = scopesString.substring( 1, scopesString.length() - 1); | ||
| String[] api_Scopes = scopesStringMinBracket.split( ", "); |
| DBUtil.insertConsentHistoryDetails(msisdn, apprScope, clientID, operatorID, "deny"); | ||
| } | ||
| } catch (SQLException | NamingException e) { | ||
| e.printStackTrace(); |
| approveAllScopes.add(apiApproveScope); | ||
| } | ||
| } | ||
| if (approveAllScopes.size() == 0) { |
| * .AuthenticationContext) | ||
| */ | ||
| @Override | ||
| protected void initiateAuthenticationRequest(HttpServletRequest request, HttpServletResponse response, |
| import org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException; | ||
| import org.wso2.carbon.identity.application.authentication.framework.exception.AuthenticationFailedException; | ||
| import org.wso2.carbon.identity.base.IdentityException; | ||
| import org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub; |
| * @param userStatus | ||
| */ | ||
| public static void publishNewUserData(UserStatus userStatus) { | ||
| List<Object> userStatusMetaData = new ArrayList<Object>(); |
| @@ -60,140 +67,173 @@ public UserProfileManager() { | |||
| public boolean createUserProfileLoa2(String username, String operator, String scope) throws | |||
| userDTO.setUserName(username); | ||
|
|
||
| // add user DTO to the user registration admin service client | ||
| try { |
| } else if (MOBILE_CLAIM_NAME.equalsIgnoreCase(userFieldDTOs[count].getClaimUri())) { | ||
| userFieldDTOs[count].setFieldValue(username); | ||
| if (AdminServiceUtil.isUserExists(username)) { | ||
| try { |
| adminURL); | ||
|
|
||
| UserFieldDTO[] userFieldDTOs = new UserFieldDTO[0]; | ||
| try { |
| } else { | ||
| userFieldDTOs[count].setFieldValue(""); | ||
| if (AdminServiceUtil.isUserExists(username)) { | ||
| try { |
| adminURL); | ||
|
|
||
| UserFieldDTO[] userFieldDTOs = new UserFieldDTO[0]; | ||
| try { |
| userDTO.setUserName(username); | ||
|
|
||
| // add user DTO to the user registration admin service client | ||
| try { |
| if (dataPublisherEnabled) { | ||
| //Publish event | ||
| Map<String, String> tokenMap = new HashMap<String, String>(); | ||
| //Map<String, String> tokenMap = new HashMap<String, String>(); |
| return parameters; | ||
| } | ||
|
|
||
| public static String getSPConfigValue(String operator, String clientID, String key) |
| } catch (SQLException e) { | ||
| throw new SQLException("Error occurred while retrieving scopeID for scope : " + scope, e); | ||
| } catch (NamingException e) { | ||
| throw new ConfigurationException("DataSource could not be found in mobile-connect.xml"); |
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.





No description provided.