Re: [Architecture] WSO2 Identity Server 5.4.0 Alpha 9 Released !!!

2017-11-22 Thread Farasath Ahamed
Hi Tharindu,

I downloaded the alpha9 tag
https://github.com/wso2/product-is/tree/v5.4.0-alpha9 and built it skipping
the tests without any problem.

*Java version*
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

*Maven Version*
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-113-generic", arch: "amd64", family:
"unix"


Could this be due to maven/java version difference?

Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 




On Thu, Nov 23, 2017 at 12:10 PM, Tharindu Edirisinghe 
wrote:

> Hi Devs,
>
> I tried to build the IS 5.4.0 alpha9 and when I build the v5.4.0-alpha9
> tag in product-is skipping the tests, I got the following error.
>
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 1.215 s
> [INFO] Finished at: 2017-11-23T11:33:53+05:30
> [INFO] Final Memory: 45M/1237M
> [INFO] 
> 
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-remote-resources-plugin:1.5:process (default) on project
> identity-server-parent: Error finding remote resources manifests:
> /home/tharindu/Desktop/alpha9/product-is/target/maven-
> shared-archive-resources/META-INF/NOTICE (No such file or directory) ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
> (default) on project identity-server-parent: Error finding remote resources
> manifests
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:212)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:80)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.
> SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.
> execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.codehaus.plexus.classworlds.launcher.Launcher.
> launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.
> launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.
> mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.
> main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error finding
> remote resources manifests
> at org.apache.maven.plugin.resources.remote.
> ProcessRemoteResourcesMojo.processResourceBundles(
> ProcessRemoteResourcesMojo.java:1238)
> at org.apache.maven.plugin.resources.remote.
> ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:520)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> DefaultBuildPluginManager.java:134)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:207)
> ... 20 more
> Caused by: java.io.FileNotFoundException: 
> /home/tharindu/Desktop/alpha9/*product-is/target/maven-shared-archive-resources/META-INF/NOTICE
> (No such file or directory)*
> at java.io.FileOutputStream.open0(Native Method)
> at java.io.FileOutputStream.open(FileOutputStream.java:270)
> at java.io.FileOutputStream.(FileOutputStream.java:213)
> at java.io.FileOutputStream.(FileOutputStream.java:162)
> at java.io.FileWriter.(FileWriter.java:90)
> at org.apache.maven.plugin.resources.remote.
> 

Re: [Architecture] WSO2 Identity Server 5.4.0 Alpha 9 Released !!!

2017-11-20 Thread Prabath Siriwardena
On Thu, Nov 16, 2017 at 12:27 PM, Farasath Ahamed 
wrote:

> The WSO2 Identity and Access Management team is pleased to announce the
> release of WSO2 Identity Server 5.4.0 Alpha 9.
>
> You can build the distribution from the source tag
> https://github.com/wso2/product-is/releases/tag/v5.4.0-alpha9 following
> the steps below.
>

Are we not hosting the binaries...?

Thanks & regards,
-Prabath


>
>
> *Building from the source*
>
>1. Install Java8 or above
>2. Install Apache Maven 3.x.x(https://maven.apache.org/download.cgi#)
>3. Get a clone from https://github.com/wso2/product-is.git and
>checkout to v5.4.0-alpha9 tag or you can directly download the source for
>the tag from https://github.com/wso2/product-is/releases/tag/v5.4.0-
>alpha9
>4. Run the one of the below maven commands from product-is directory,
>   - *mvn** clean install* (To build the binary and source
>   distributions with the tests)
>   - *mvn** clean install -Dmaven.test.skip=true* (To build the binary
>   and source distributions, without running any of the unit/integration 
> tests)
>5. You can find the wso2is-5.4.0-alpha9.zip binary distribution in
>product-is/modules/distribution/target directory.
>
> Please note that you need to have Java SE Development Kit *1.8 *to run
> the binary distribution.
>
> The following list contains all the features, improvements, and bug fixes
> available with the WSO2 Identity Server 5.4.0 Alpha 9 release.
> Patch
>
>- [IDENTITY-6488 ] - SAML
>Error when IDP init login, ACS not sent to notification.do
>
> Bug
>
>- [IDENTITY-3355 ] -
>Better if only warning is shown for siganture varification failures (not
>the whole exception)
>- [IDENTITY-4956 ] -
>Inconsistency in displaying the subject claim when a domain is set
>- [IDENTITY-4995 ] -
>Cannot change the certificate alias for a service provider when there's
>more than one certificate
>- [IDENTITY-5866 ] - KeyId
>hard-coded in DefaultIDTokenBuilder
>- [IDENTITY-5922 ] - When
>invoking OAuth2TokenValidationService, updated user roles are not reflected
>in retrieved claims of the JWT token, till cache timeout or server restart
>- [IDENTITY-5994 ] - NPE
>thrown when testing cause of exception in OAuth2Service.issueAccessToken
>()
>- [IDENTITY-6075 ] -
>Receives the Primary-IS admin user info, when calling userinfo endpoint
>with SAML2 Bearer grant type with SAML federated scenario
>- [IDENTITY-6288 ] - Move
>the common code in id token and userinfo, to util
>- [IDENTITY-6327 ] - List
>of claims returned in IDToken and Userinfo don't get updated when we update
>requested claims configuration
>- [IDENTITY-6331 ] - alg
>header in JWT token is not valid for IS 5.0.0
>- [IDENTITY-6332 ] - The
>“exp” value in the JWT tokens must in RFC7519 compliant format
>- [IDENTITY-6354 ] - Two
>confirmation windows coming when updating the user with all existing roles
>- [IDENTITY-6358 ] - Error
>when adding workflows in tenant mode for external BPS profiles
>- [IDENTITY-6376 ] - SAML2
>Web SSO Configuration (Federated Authenticator) default Signature Algorithm
>is set to DSA with SHA1
>- [IDENTITY-6385 ] -
>Internal Server Error for Client Credential Grant with openid scope OOB
>- [IDENTITY-6386 ] - self
>sign up not working in tenant mode
>- [IDENTITY-6391 ] -
>[Service Provider SAML2 Web SSO configuration] Default Value of Certificate
>Alias should be wso2carbon
>- [IDENTITY-6404 ] - Error
>in SAML2 Bear token grant validation for tenant users when "Use tenant
>domain in local subject identifier" option is unchecked
>- [IDENTITY-6480 ] -
>Calling OAuth2ValidationService with a valid token when
>AuthorizationContextTokenGeneration is enabled throws a back end error
>- [IDENTITY-6496 ] - A
>white-space in-between Authorization: Basic and
> leads