diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index ade9eae1..c21efb8a 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -348,6 +348,32 @@ run + + + install_libs + package + + + + + + + + + + + + + + + + + + run + + clean_target install diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index d263f48b..a15a8434 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -137,6 +137,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.platform.version}/repository/conf/identity/ ${pom.artifactId}-${pom.version}/repository/conf/identity + **/identity.xml **/sso-idp-config.xml **/application-authentication.xml @@ -216,6 +217,7 @@ src/repository/conf ${pom.artifactId}-${pom.version}/repository/conf + **/identity.xml **/api-manager.xml **/sso-idp-config.xml **/application-authentication.xml diff --git a/modules/distribution/src/repository/conf/identity.xml b/modules/distribution/src/repository/conf/identity.xml deleted file mode 100755 index ae58884c..00000000 --- a/modules/distribution/src/repository/conf/identity.xml +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - https://localhost:9443/openidserver - - https://localhost:9443/openid/ - - false - - 7200 - - - - - jdbc/WSO2AM_DB - - - true - - - - - - ${carbon.home}/repository/resources/security/userRP.jks - - JKS - - wso2carbon - - wso2carbon - - - - ${carbon.home}/conf/keystores - - - - SelfAndManaged - CertValidate - - - - - - - - - - https://localhost:9443/oauth/request-token - https://localhost:9443/oauth/access-token - https://localhost:9443/oauth/authorize-url - - 300 - - 3600 - - 3600 - - 3600 - - 300 - - true - - - org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor - - - - - - false - - - - - - - token - org.wso2.carbon.identity.oauth2.authz.handlers.TokenResponseTypeHandler - - - code - org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler - - - - - - authorization_code - org.wso2.carbon.apimgt.keymgt.handlers.ExtendedAuthorizationCodeGrantHandler - - - password - org.wso2.carbon.apimgt.keymgt.handlers.ExtendedPasswordGrantHandler - - - - - - refresh_token - org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler - - - client_credentials - org.wso2.carbon.apimgt.keymgt.handlers.ExtendedClientCredentialsGrantHandler - - - urn:ietf:params:oauth:grant-type:saml2-bearer - org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler - - - iwa:ntlm - org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler - - - - - - - - - - - - - - - - false - - - - false - - - - - - false - org.wso2.carbon.identity.oauth2.authcontext.JWTTokenGenerator - org.wso2.carbon.identity.oauth2.authcontext.DefaultClaimsRetriever - http://wso2.org/claims - SHA256withRSA - 15 - - - - - - - - - - - - - - gtalk - talk.google.com - 5222 - gmail.com - multifactor1@gmail.com - wso2carbon - - - - - - https://localhost:9443/samlsso - - - - - - - true - 36000 - - - true - - - true - ${Ports.ThriftEntitlementReceivePort} - 10000 - - ${carbon.home}/repository/resources/security/wso2carbon.jks - wso2carbon - - - - - - false - \ No newline at end of file diff --git a/modules/distribution/src/repository/conf/identity/identity.xml b/modules/distribution/src/repository/conf/identity/identity.xml new file mode 100644 index 00000000..f0a751cb --- /dev/null +++ b/modules/distribution/src/repository/conf/identity/identity.xml @@ -0,0 +1,359 @@ + + + + + + + + + jdbc/WSO2AM_DB + + + + + + + + + 15 + 20160 + 20160 + 1140 + + + + + ${carbon.home}/conf/keystores + + + SelfAndManaged + CertValidate + + + + + + + + + + + + + false + + 7200 + + false + + false + + 36000 + + false + org.wso2.carbon.identity.provider.openid.claims.DefaultClaimsRetriever + + + + + + + + + + + + + + + + + -1 + -1 + -1 + -1 + + + + + + + + + + + 300 + + 3600 + + 3600 + + 84600 + + 300 + + true + + true + + org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor + + + + false + + + + + + token + org.wso2.carbon.identity.oauth2.authz.handlers.TokenResponseTypeHandler + + + code + org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler + + + + + + authorization_code + org.wso2.carbon.apimgt.keymgt.handlers.ExtendedAuthorizationCodeGrantHandler + + + password + org.wso2.carbon.apimgt.keymgt.handlers.ExtendedPasswordGrantHandler + + + refresh_token + org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler + + + client_credentials + org.wso2.carbon.apimgt.keymgt.handlers.ExtendedClientCredentialsGrantHandler + + + urn:ietf:params:oauth:grant-type:saml2-bearer + org.wso2.carbon.apimgt.keymgt.handlers.ExtendedSAML2BearerGrantHandler + + + iwa:ntlm + org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler + + + devicecloud + org.wso2.carbon.devicemgt.grant.DeviceGrant + org.wso2.carbon.devicemgt.grant.DeviceGrantValidator + + + + + + + + + + false + + + false + + + + + + false + org.wso2.carbon.identity.oauth2.authcontext.JWTTokenGenerator + org.wso2.carbon.identity.oauth2.authcontext.DefaultClaimsRetriever + http://wso2.org/claims + SHA256withRSA + 15 + + + + + + org.wso2.carbon.identity.openidconnect.DefaultIDTokenBuilder + + + http://wso2.org/claims/givenname + org.wso2.carbon.identity.openidconnect.SAMLAssertionClaimsCallback + 3600 + http://wso2.org/claims + org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoUserStoreClaimRetriever + org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInforRequestDefaultValidator + org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoISAccessTokenValidator + org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoJSONResponseBuilder + false + + + + + + + gtalk + talk.google.com + 5222 + gmail.com + multifactor1@gmail.com + wso2carbon + + + + + 157680000 + 157680000 + localhost + + + 5 + 60000 + + false + 36000 + + + org.wso2.carbon.identity.sso.saml.attributes.UserAttributeStatementBuilder + http://wso2.org/claims + false + org.wso2.carbon.identity.sso.saml.builders.claims.DefaultClaimsRetriever + org.wso2.carbon.identity.sso.saml.builders.assertion.DefaultSAMLAssertionBuilder + org.wso2.carbon.identity.sso.saml.builders.encryption.DefaultSSOEncrypter + org.wso2.carbon.identity.sso.saml.builders.signature.DefaultSSOSigner + org.wso2.carbon.identity.sso.saml.validators.SAML2HTTPRedirectDeflateSignatureValidator + + + 5 + false + http://www.w3.org/2000/09/xmldsig#rsa-sha1 + http://www.w3.org/2000/09/xmldsig#sha1 + + + + + + + + + + + + false + ${Ports.ThriftEntitlementReceivePort} + 10000 + + ${carbon.home}/repository/resources/security/wso2carbon.jks + wso2carbon + + + localhost + + + + + + + + + 5 + + + 10 + local://services + + + + + + + + + + + + \ No newline at end of file