37 ! "# "$ % &' &( ) *+ *, - ./ .0 1 .2 3 .4 5 67 68 9 :;<= !> ? @ ABCDE F G HI HJ HK LMN OP QR ST UVW XYZ 0![ 0\] 0^ _` Sab 8! c d 8e :f gh ij ikl Am no 0p Sq 8r 8s tu tv 8w x Uyz{| }~ S    8 8   8 8  A A gm  g 8 l!   g o    x z   O g g    SlogLorg/apache/log4j/Logger;authenticationService7Lorg/dspace/authenticate/service/AuthenticationService;authorizeService/Lorg/dspace/authorize/service/AuthorizeService;ePersonService+Lorg/dspace/eperson/service/EPersonService;communityService-Lorg/dspace/content/service/CommunityService;collectionService.Lorg/dspace/content/service/CollectionService; itemService(Lorg/dspace/content/service/ItemService;configurationService*Lorg/dspace/services/ConfigurationService;()VCodeLineNumberTableLocalVariableTablethis&Lorg/dspace/sword2/SwordAuthenticator; authenticates@(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)ZcontextLorg/dspace/core/Context;unLjava/lang/String;pwauthI StackMapTableconstructContext()Lorg/dspace/core/Context; Exceptions authenticateG(Lorg/swordapp/server/AuthCredentials;)Lorg/dspace/sword2/SwordContext;sc Lorg/dspace/sword2/SwordContext;eLjava/lang/Exception;%Lorg/swordapp/server/AuthCredentials;=b`(Lorg/dspace/core/Context;Lorg/swordapp/server/AuthCredentials;)Lorg/dspace/sword2/SwordContext; specialGroupLorg/dspace/eperson/Group; specialGroupsLjava/util/List; oboContextepOboLorg/dspace/eperson/EPerson;ep authenticatedZLjava/sql/SQLException;obomediatedLocalVariableTypeTable,Ljava/util/List; canSubmitj(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/DSpaceObject;Lorg/dspace/sword2/VerboseDescription;)Z swordContextdso!Lorg/dspace/content/DSpaceObject;msg&Lorg/dspace/sword2/VerboseDescription;submit isUserAdmin#(Lorg/dspace/sword2/SwordContext;)ZisOnBehalfOfAdmin onBehalfOf isUserInGroup=(Lorg/dspace/sword2/SwordContext;Lorg/dspace/eperson/Group;)ZgroupisOnBehalfOfInGroup isInGroup9(Lorg/dspace/eperson/Group;Lorg/dspace/eperson/EPerson;)Zgroup1epersonepsgroups.Ljava/util/List;getAllowedCommunities2(Lorg/dspace/sword2/SwordContext;)Ljava/util/List; authAllowed oboAllowedcommLorg/dspace/content/Community;allowedcomms0Ljava/util/List; SignatureR(Lorg/dspace/sword2/SwordContext;)Ljava/util/List;getCommunitiesP(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Community;)Ljava/util/List; communityp(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Community;)Ljava/util/List;getAllowedCollectionsS(Lorg/dspace/sword2/SwordContext;)Ljava/util/List;colLorg/dspace/content/Collection; authContextcols1Ljava/util/List;q(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Community;)Ljava/util/List;getAllowedItemsQ(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Collection;)Ljava/util/List;bundleLorg/dspace/content/Bundle;writeadditemLorg/dspace/content/Item;bundlesiiLjava/util/Iterator; collection-Ljava/util/List;+Ljava/util/List;/Ljava/util/Iterator;l(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Collection;)Ljava/util/List; canSubmitToB(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Collection;)Z<(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/Item;)ZisObo allowContextallowedToMediate(Lorg/dspace/core/Context;)Zmmediator mediators[Ljava/lang/String;emailnetidD(Lorg/dspace/sword2/SwordContext;Lorg/dspace/content/DSpaceObject;)Z SourceFileSwordAuthenticator.java                   ,org/dspace/authenticate/AuthenticationMethodorg/dspace/core/Context session_id=0  &org/dspace/sword2/DSpaceSwordExceptionorg/swordapp/server/SwordErrorjava/lang/RuntimeException&org/swordapp/server/SwordAuthException      "swordv2-server.on-behalf-of.enable  =Attempted mediated deposit on service not configured to do so  1Mediated deposit to this service is not permitted sword_authenticatejava/lang/StringBuilder username= ,on_behalf_of=   org/dspace/sword2/SwordContext      org/dspace/eperson/Group  Adding Special Group id=            &unable to identify on-behalf-of user: sword_unable_to_set_user4Unable to authenticate with the supplied credentials  sword_unable_to_set_on_behalf_of-Unable to authenticate the onBehalfOf accountjava/sql/SQLExceptioncaught exception: :There was a problem accessing the repository user database  *User is authorised to submit to collection .User is not authorised to submit to collection   Caught exception:     org/dspace/eperson/EPerson    !java/util/ArrayList" #$org/dspace/content/Communityorg/dspace/core/Constants %&  ' ( )*org/dspace/content/Collection+ ,-org/dspace/content/Item .org/dspace/content/BundleORIGINAL / ,swordv2-server.on-behalf-of.update.mediators 01 2 3 4  $org/dspace/sword2/SwordAuthenticator 56java/lang/Object#org/swordapp/server/AuthCredentialsjava/lang/Exceptionjava/lang/Stringjava/util/Listjava/util/Iterator:org/dspace/authenticate/factory/AuthenticateServiceFactory getInstance>()Lorg/dspace/authenticate/factory/AuthenticateServiceFactory;getAuthenticationService9()Lorg/dspace/authenticate/service/AuthenticationService;4org/dspace/authorize/factory/AuthorizeServiceFactory8()Lorg/dspace/authorize/factory/AuthorizeServiceFactory;getAuthorizeService1()Lorg/dspace/authorize/service/AuthorizeService;0org/dspace/eperson/factory/EPersonServiceFactory4()Lorg/dspace/eperson/factory/EPersonServiceFactory;getEPersonService-()Lorg/dspace/eperson/service/EPersonService;0org/dspace/content/factory/ContentServiceFactory4()Lorg/dspace/content/factory/ContentServiceFactory;getCommunityService/()Lorg/dspace/content/service/CommunityService;getCollectionService0()Lorg/dspace/content/service/CollectionService;getItemService*()Lorg/dspace/content/service/ItemService;1org/dspace/services/factory/DSpaceServicesFactory5()Lorg/dspace/services/factory/DSpaceServicesFactory;getConfigurationService,()Lorg/dspace/services/ConfigurationService;5org/dspace/authenticate/service/AuthenticationServicey(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;)IsetExtraLogInfo(Ljava/lang/String;)VisValid()Zabort getOnBehalfOf()Ljava/lang/String; getUsername getPassword#org/apache/commons/lang/StringUtilsisBlank(Ljava/lang/String;)Z(org/dspace/services/ConfigurationServicegetBooleanProperty(Ljava/lang/String;Z)Zorg/apache/log4j/Loggererror(Ljava/lang/Object;)Vorg/swordapp/server/UriRegistryERROR_MEDIATION_NOT_ALLOWED'(Ljava/lang/String;Ljava/lang/String;)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toStringorg/dspace/core/LogManager getHeaderQ(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;infogetCurrentUser()Lorg/dspace/eperson/EPerson;setAuthenticated(Lorg/dspace/eperson/EPerson;)VgetSpecialGroupsR(Lorg/dspace/core/Context;Ljavax/servlet/http/HttpServletRequest;)Ljava/util/List;iterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;getID()Ljava/util/UUID;setSpecialGroup(Ljava/util/UUID;)V-(Ljava/lang/Object;)Ljava/lang/StringBuilder;debugsetAuthenticatorContext(Lorg/dspace/core/Context;)V setContext)org/dspace/eperson/service/EPersonService findByEmailI(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/eperson/EPerson; findByNetid setOnBehalfOfsetCurrentUserERROR_TARGET_OWNER_UNKNOWN*(Ljava/lang/Object;Ljava/lang/Throwable;)V*(Ljava/lang/String;Ljava/lang/Throwable;)V$org/dspace/sword2/VerboseDescription:(Ljava/lang/String;)Lorg/dspace/sword2/VerboseDescription;getAuthenticatedgetAuthenticatorContext-org/dspace/authorize/service/AuthorizeServiceisAdmin(Ljava/lang/Throwable;)VgetOnBehalfOfContext getMembers()Ljava/util/List;getMemberGroupsjava/util/UUIDequals(Ljava/lang/Object;)ZisEmpty getContext+org/dspace/content/service/CommunityService findAllTop+(Lorg/dspace/core/Context;)Ljava/util/List;authorizeActionBoolean>(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;I)ZgetSubcommunities,org/dspace/content/service/CollectionServicefindAuthorizedJ(Lorg/dspace/core/Context;Lorg/dspace/content/Community;I)Ljava/util/List;&org/dspace/content/service/ItemServicefindByCollectionN(Lorg/dspace/core/Context;Lorg/dspace/content/Collection;)Ljava/util/Iterator; getBundlesgetNamegetArrayProperty'(Ljava/lang/String;)[Ljava/lang/String;getEmailgetNetidtrim getLogger,(Ljava/lang/Class;)Lorg/apache/log4j/Logger;! K**** * * * *B05689;<">#?,A-B6D:E@GAHJG K*+,-6U VW4 @LYL++dfh%*M*,+N:,,!,"-     "y}  #> %% #/ C,#N,$:,%:-&N*'(6-)*+Y,-.)+/0Y123343-35678Y9::6 *+::+;:n6 <*+=:  >:  ?8 @A: + BC)0Y1D3 BE5F+G+H: -* +-I:  * +-J:  x K*:   L* =:  >:  ?9 @A: BC)0Y1D3BE5F H$6 YM0Y1N3-35. e-)+O0Y1233567 YPQ)+R0Y123343-3567 YSQ:)UVYWXo*+T> !(19Fox{~&+28?FMlv (+-7& T l'8e MP  x{~ -CCC> 82(T MP y +n > %/? 32 !*+,Y6 -Z[W -\[W*, .254!!!!,+]M,*+^_M)`,VY,aTT& FG IJILNP#Q*,,,+bM,*+c_N)`-VY-aTT& ad fgfikm#n*,,' At+]N- *,-dz{ }* t+bN- *,-d * L|+eN+f:->:?#@g:,hhi;j1>:?@A:*,d2  )8:=LkuwzH)k |||w qw q&! +kMlYmN* ,n:>:?c@o:66+b6*+^q6*+cq6 -rW-M)`,VY,aT^ 8;>EHMRX_diov  \ ;N>K8Q u u;"% ,sNlYm:->:?d@o:66+b6*+^q6*+cq6 rWN)`-VY-aTZ568,:/;2>9@<EAGFHLGSNXP]QcPjVtX~Z[^`a\ /O2L,Rvv1%;*+tw +^N*-,u:lYm:>:?E@v:6+b6*+cq6 rWN)`-VY-astTN ;>EHMRX_dnqtu~\ >0;3oaXuaX?%" lYmN*+k,w:?b@x:66+b6y:*+^q6 6 j*+^q6 L>:  ?9 @z: { |}*+^ q6    6*+cq6 6 j*+^q6 L>:  ?9 @z: { |}*+^ q6    6 -rW-NY-aT6 ".14;>EJOU\ _ i nt ~ #(*+*./1217094:=<B=H<O?TAWDZGkKuM~OQSU' \| _y 0' | y .P1M4JE9{k   E9 { k j% ?< @8< @ [>6+b6*+^,q>*+c,q6 N)`-VY-aGHTB}~ #(-29HIR>FCI[[[  @* +b>:*+^~+c: +^:*,q6,y:6j*,q6J>:?7@z: { |}* q6 6N)`-VY-a T!Tr !*08?EHRZdp % ?EzHw Ez 6 @3: @ p ~*M,,+;N--:-:,:66?2:  :  } }F  "(.GN`bt v| RN( G/ ~~ rb(V.P<  (|*,v *+,v,x*+,x" ***@! )3