shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borut Bolcina (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SHIRO-183) Unable to correctly extract the Initialization Vector or ciphertext
Date Sat, 09 Oct 2010 09:23:32 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919476#action_12919476
] 

Borut Bolcina commented on SHIRO-183:
-------------------------------------

Kalle, for some reason mavne can not download the 0.3.0-SNAPSHOT from the repo

		<repository>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<updatePolicy>daily</updatePolicy>
				<checksumPolicy>warn</checksumPolicy>
			</snapshots>
			<id>codehaus.ci</id>
			<name>Codehaus CI</name>
			<url>http://ci.repository.codehaus.org/org/tynamo/</url>
		</repository>

it gives me

9.10.10 11:11:50 CEST: [WARN] repository metadata for: 'snapshot org.tynamo:tapestry-security:0.3.0-SNAPSHOT'
could not be retrieved from repository: codehaus.ci due to an error: Transfer error: null
9.10.10 11:11:53 CEST: Missing artifact org.tynamo:tapestry-security:jar:0.3.0-SNAPSHOT:compile

Tried several times, also with "frozen snapshot version" tapestry-security-0.3.0-20101008.094550-4
but with no luck. I will investigate later, as right now I do not have time.

> Unable to correctly extract the Initialization Vector or ciphertext
> -------------------------------------------------------------------
>
>                 Key: SHIRO-183
>                 URL: https://issues.apache.org/jira/browse/SHIRO-183
>             Project: Shiro
>          Issue Type: Bug
>          Components: Subject
>    Affects Versions: 1.0.0
>         Environment: GNU/Linux Debian Lenny, Java 1.6
>            Reporter: RynekMedyczny.pl
>            Assignee: Kalle Korhonen
>            Priority: Trivial
>             Fix For: 1.1.0
>
>         Attachments: shiro.ini
>
>
> I obtain following exception while entering the secure page:
>   [java] 101637 [http-8080-1] WARN org.apache.shiro.mgt.DefaultSecurityManager - Delegate
RememberMeManager instance of type [org.apache.shiro.web.mgt.CookieRememberMeManager] threw
an exception during getRememberedPrincipals().
>      [java] org.apache.shiro.crypto.CryptoException: Unable to correctly extract the
Initialization Vector or ciphertext.
>      [java] 	at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:381)
>      [java] 	at org.apache.shiro.mgt.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:491)
>      [java] 	at org.apache.shiro.mgt.AbstractRememberMeManager.convertBytesToPrincipals(AbstractRememberMeManager.java:431)
>      [java] 	at org.apache.shiro.mgt.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:398)
>      [java] 	at org.apache.shiro.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:567)
>      [java] 	at org.apache.shiro.mgt.DefaultSecurityManager.resolvePrincipals(DefaultSecurityManager.java:434)
>      [java] 	at org.apache.shiro.mgt.DefaultSecurityManager.createSubject(DefaultSecurityManager.java:335)
>      [java] 	at org.apache.shiro.subject.Subject$Builder.buildSubject(Subject.java:819)
>      [java] 	at org.apache.shiro.web.subject.WebSubject$Builder.buildWebSubject(WebSubject.java:149)
>      [java] 	at org.apache.shiro.web.servlet.AbstractShiroFilter.createSubject(AbstractShiroFilter.java:202)
>      [java] 	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:269)
>      [java] 	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:83)
>      [java] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>      [java] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>      [java] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>      [java] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>      [java] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>      [java] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>      [java] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>      [java] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>      [java] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>      [java] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>      [java] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>      [java] 	at java.lang.Thread.run(Thread.java:619)
>      [java] Caused by: java.lang.ArrayIndexOutOfBoundsException
>      [java] 	at java.lang.System.arraycopy(Native Method)
>      [java] 	at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:373)
>      [java] 	... 23 more
> Of course I have set the "securityManager.rememberMeManager.cipherKey" in shiro.ini but
it did not help.
> kind regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message