|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
Eclipse-Nexus SecurityHello,
I've changed the roles of anonymous users to enable him to just read repository (All repositories(Read)).It works on the UI. But from eclipse it allows the user to download external libraries (eclipse use my internal nexus instance). I want that anonymous users could only download from my repositories. Does anyone could help me ? |
|
|
Re: Eclipse-Nexus SecurityDo you mean that you want to block your users from downloading from external repos (they have to use the internal Nexus instance)? That would be a firewall topic.
/Anders On Thu, Sep 10, 2009 at 22:36, staq <staquere@...> wrote:
|
|
|
|
|
|
|
|
|
Re: Eclipse-Nexus SecurityYes i tried it but it didn't work, i still couldn't download external libraries from eclipse(So it mean nexus doesn't consider me as an admin).
Do you have others ideas? staq
|
|
|
Re: Eclipse-Nexus SecurityI believe it should work. Maybe someone could confirm?
Did you configure it with the correct server id? /Anders On Fri, Sep 11, 2009 at 20:20, staq <staquere@...> wrote:
|
|
|
Re: Eclipse-Nexus SecurityYes i used a correct server id.
I find a way to download external artifact(I change my url in the setting.xml) Is there a way to prevent from download external artifact even those who change their setting.xml? I want that only the admin can download external artifact. thanks for your help. /staq
|
|
|
Re: Eclipse-Nexus SecurityThe only way I can think of (unless you can restrict the users from altering their settings.xml) is by utlizing some firewall/web proxy blocking.
/Anders On Thu, Sep 17, 2009 at 17:22, staq <staquere@...> wrote:
|
|
|
Re: Eclipse-Nexus SecurityThank you for your advice.
I think i ll create new repository id. Do you know why i have these messages when i try to download index (schedule task) Or could you link me on the right topic? 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository central 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='central' from path='/.index' 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='central' from path='/.index' 2009-09-17 19:03:56 WARN [ool-1-thread-19] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: org.sonatype.nexus.proxy.StorageException: Tranport error while executing GET method at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:512) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:133) at org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:699) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:731) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:603) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:570) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryGroupIndex(DefaultIndexerManager.java:549) at org.sonatype.nexus.DefaultNexus.downloadRepositoryGroupIndex(DefaultNexus.java:1352) at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:45) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:483) ... 19 more |
|
|
Re: Eclipse-Nexus SecurityWhat repository are you downloading from? Is there a repository index of that repo? The error is standard connection time out, so there is some kind of connection problem. It works for other repos? Does it work for artifacts?
/Anders On Fri, Sep 18, 2009 at 16:39, staq <staquere@...> wrote:
|
|
|
Re: Eclipse-Nexus Securityyes it works other repos like (http://download.java.net/maven/2/).
Not working from Maven central for example (http://repo1.maven.org/maven2/) If there's no index, i have to prevent the repos from download index? /staq
|
|
|
Re: Eclipse-Nexus SecurityThe error by itself won't hurt anything. You can enable the remote
download per repository in the repo config. I have heard other reports of issues downloading from central, i'll have to take a look. On Fri, Sep 18, 2009 at 3:02 PM, staq <staquere@...> wrote: > > yes it works other repos like (http://download.java.net/maven/2/). > Not working from Maven central for example (http://repo1.maven.org/maven2/) > If there's no index, i have to prevent the repos from download index? > > /staq > > Anders Hammar wrote: >> >> What repository are you downloading from? Is there a repository index of >> that repo? The error is standard connection time out, so there is some >> kind >> of connection problem. It works for other repos? Does it work for >> artifacts? >> >> /Anders >> >> On Fri, Sep 18, 2009 at 16:39, staq <staquere@...> wrote: >> >>> >>> Thank you for your advice. >>> I think i ll create new repository id. >>> Do you know why i have these messages when i try to download index >>> (schedule >>> task) >>> Or could you link me on the right topic? >>> >>> 2009-09-17 19:03:35 INFO [ool-1-thread-19] - >>> o.s.n.i.IndexerMana~:default >>> - Trying to get remote index for repository central >>> 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.p.r.Repository:maven2 >>> - Expiring local cache in repository ID='central' from path='/.index' >>> 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.p.r.Repository:maven2 >>> - Clearing NFC cache in repository ID='central' from path='/.index' >>> 2009-09-17 19:03:56 WARN [ool-1-thread-19] - >>> o.s.n.i.IndexerMana~:default >>> - Cannot fetch remote index: >>> org.sonatype.nexus.proxy.StorageException: Tranport error while executing >>> GET method >>> at >>> >>> org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:512) >>> at >>> >>> org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:133) >>> at >>> >>> org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:699) >>> at >>> >>> org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) >>> at >>> >>> org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) >>> at >>> >>> org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:731) >>> at >>> >>> org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:603) >>> at >>> >>> org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:570) >>> at >>> >>> org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryGroupIndex(DefaultIndexerManager.java:549) >>> at >>> >>> org.sonatype.nexus.DefaultNexus.downloadRepositoryGroupIndex(DefaultNexus.java:1352) >>> at >>> >>> org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:45) >>> at >>> >>> org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) >>> at >>> >>> org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) >>> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) >>> at java.util.concurrent.FutureTask.run(Unknown Source) >>> at >>> >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown >>> Source) >>> at >>> >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown >>> Source) >>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown >>> Source) >>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown >>> Source) >>> at java.lang.Thread.run(Unknown Source) >>> Caused by: java.net.ConnectException: Connection timed out: connect >>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>> at java.net.PlainSocketImpl.doConnect(Unknown Source) >>> at java.net.PlainSocketImpl.connectToAddress(Unknown Source) >>> at java.net.PlainSocketImpl.connect(Unknown Source) >>> at java.net.SocksSocketImpl.connect(Unknown Source) >>> at java.net.Socket.connect(Unknown Source) >>> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>> at java.lang.reflect.Method.invoke(Unknown Source) >>> at >>> >>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) >>> at >>> >>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) >>> at >>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >>> at >>> >>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >>> at >>> >>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >>> at >>> >>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>> at >>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>> at >>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) >>> at >>> >>> org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:483) >>> ... 19 more >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Eclipse-Nexus-Security-tp25390538p25509908.html >>> Sent from the Nexus Maven Repository Manager Users List mailing list >>> archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>> For additional commands, e-mail: nexus-user-help@... >>> >>> >> >> > > -- > View this message in context: http://www.nabble.com/Eclipse-Nexus-Security-tp25390538p25513876.html > Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Eclipse-Nexus SecurityThe download is ok here, I will chock this up to random s3 issues for now.
On Fri, Sep 18, 2009 at 3:14 PM, Brian Fox <brianf@...> wrote: > The error by itself won't hurt anything. You can enable the remote > download per repository in the repo config. I have heard other reports > of issues downloading from central, i'll have to take a look. > > On Fri, Sep 18, 2009 at 3:02 PM, staq <staquere@...> wrote: >> >> yes it works other repos like (http://download.java.net/maven/2/). >> Not working from Maven central for example (http://repo1.maven.org/maven2/) >> If there's no index, i have to prevent the repos from download index? >> >> /staq >> >> Anders Hammar wrote: >>> >>> What repository are you downloading from? Is there a repository index of >>> that repo? The error is standard connection time out, so there is some >>> kind >>> of connection problem. It works for other repos? Does it work for >>> artifacts? >>> >>> /Anders >>> >>> On Fri, Sep 18, 2009 at 16:39, staq <staquere@...> wrote: >>> >>>> >>>> Thank you for your advice. >>>> I think i ll create new repository id. >>>> Do you know why i have these messages when i try to download index >>>> (schedule >>>> task) >>>> Or could you link me on the right topic? >>>> >>>> 2009-09-17 19:03:35 INFO [ool-1-thread-19] - >>>> o.s.n.i.IndexerMana~:default >>>> - Trying to get remote index for repository central >>>> 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.p.r.Repository:maven2 >>>> - Expiring local cache in repository ID='central' from path='/.index' >>>> 2009-09-17 19:03:35 INFO [ool-1-thread-19] - o.s.n.p.r.Repository:maven2 >>>> - Clearing NFC cache in repository ID='central' from path='/.index' >>>> 2009-09-17 19:03:56 WARN [ool-1-thread-19] - >>>> o.s.n.i.IndexerMana~:default >>>> - Cannot fetch remote index: >>>> org.sonatype.nexus.proxy.StorageException: Tranport error while executing >>>> GET method >>>> at >>>> >>>> org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:512) >>>> at >>>> >>>> org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:133) >>>> at >>>> >>>> org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:699) >>>> at >>>> >>>> org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) >>>> at >>>> >>>> org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) >>>> at >>>> >>>> org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:731) >>>> at >>>> >>>> org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:603) >>>> at >>>> >>>> org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:570) >>>> at >>>> >>>> org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryGroupIndex(DefaultIndexerManager.java:549) >>>> at >>>> >>>> org.sonatype.nexus.DefaultNexus.downloadRepositoryGroupIndex(DefaultNexus.java:1352) >>>> at >>>> >>>> org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:45) >>>> at >>>> >>>> org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) >>>> at >>>> >>>> org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) >>>> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) >>>> at java.util.concurrent.FutureTask.run(Unknown Source) >>>> at >>>> >>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown >>>> Source) >>>> at >>>> >>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown >>>> Source) >>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown >>>> Source) >>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown >>>> Source) >>>> at java.lang.Thread.run(Unknown Source) >>>> Caused by: java.net.ConnectException: Connection timed out: connect >>>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>>> at java.net.PlainSocketImpl.doConnect(Unknown Source) >>>> at java.net.PlainSocketImpl.connectToAddress(Unknown Source) >>>> at java.net.PlainSocketImpl.connect(Unknown Source) >>>> at java.net.SocksSocketImpl.connect(Unknown Source) >>>> at java.net.Socket.connect(Unknown Source) >>>> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) >>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>>> at java.lang.reflect.Method.invoke(Unknown Source) >>>> at >>>> >>>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) >>>> at >>>> >>>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) >>>> at >>>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >>>> at >>>> >>>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >>>> at >>>> >>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >>>> at >>>> >>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>>> at >>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>>> at >>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) >>>> at >>>> >>>> org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:483) >>>> ... 19 more >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Eclipse-Nexus-Security-tp25390538p25509908.html >>>> Sent from the Nexus Maven Repository Manager Users List mailing list >>>> archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>>> For additional commands, e-mail: nexus-user-help@... >>>> >>>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Eclipse-Nexus-Security-tp25390538p25513876.html >> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >> For additional commands, e-mail: nexus-user-help@... >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Eclipse-Nexus Securityok thanks for your help.
|
| Free embeddable forum powered by Nabble | Forum Help |