Edit C:\dspace\webapps\jspui\WEB-INF\classes\org\dspace\app\webui\servlet\RegisterServlet.class
???? 3? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? !" 8 ?# 8$ 8% &'( ?)* ?+, C-./0 12 345 ?6789 O:;<= O>?@ABCDEF \GHIJKL 8MNOPQR STUV ?WXYZ[\ ] ?^_` 3ab c de 3f 3g ?h i jk l ?mn ?opqr 3s ?tuvw xy log Lorg/apache/log4j/Logger; ENTER_EMAIL_PAGE I ConstantValue PERSONAL_INFO_PAGE NEW_PASSWORD_PAGE registering Z ldap_enabled authenticationService 7Lorg/dspace/authenticate/service/AuthenticationService; accountService +Lorg/dspace/eperson/service/AccountService; <init> ()V Code LineNumberTable LocalVariableTable this .Lorg/dspace/app/webui/servlet/RegisterServlet; init Exceptionsz doDSGet k(Lorg/dspace/core/Context;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V setPassword email Ljava/lang/String; eperson Lorg/dspace/eperson/EPerson; context Lorg/dspace/core/Context; request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; token StackMapTable{|}~ doDSPost step processEnterEmail e Ljavax/mail/SendFailedException; ctx #Ljavax/naming/directory/DirContext; Ljavax/naming/NamingException; ldap_provider_url ldap_id_field ldap_search_context env Ljava/util/Hashtable; canRegister ae &Ljavax/mail/internet/AddressException; me Ljavax/mail/MessagingException; netid password eperson2w???,9JY[ processPersonalInfo infoOK passwordOK processNewPassword <clinit> SourceFile RegisterServlet.java ? ?????? ? ?????? ? ? ? ? register?? true{?? ? ? authentication-ldap enable??? ? ???? /register/new-ldap-user.jsp??? /register/new-user.jsp /register/forgot-password.jsp????????????? set.password??? /register/registration-form.jsp /register/new-password.jsp /register/invalid-token.jsp??? ? ? ? ? ? ? ? ? integrity_error???????????? ??????|?? already_registered java/lang/StringBuilder email=?????? /register/already-registered.jsp???? sendtoken_register?? javax/mail/SendFailedException?? ,com/sun/mail/smtp/SMTPAddressFailedException invalid_email retry?? /register/registration-sent.jsp?? ? provider_url?? id_field search_context java/util/Hashtable ?? javax/naming/Context java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory?? java.naming.provider.url #java.naming.security.authentication simple java.naming.security.principal = , java.naming.security.credentials (javax/naming/directory/InitialDirContext ???? ? javax/naming/NamingException failed_login netid=?? /login/ldap-incorrect.jsp /register/cannot-register.jsp unknown_email unregistered_forgot_password /register/inactive-account.jsp?? certificate_user_forgot_password /error/require-certificate.jsp sendtoken_forgotpw?? !/register/password-token-sent.jsp $javax/mail/internet/AddressException bad_email javax/mail/MessagingException error_emailing???? invalid_token token=? ?????????? ??????????????? usedtoken_register?? /register/registered.jsp missing.fields password.problem? ??? usedtoken_forgotpw /register/password-changed.jsp ,org/dspace/app/webui/servlet/RegisterServlet?? /org/dspace/app/webui/servlet/EditProfileServlet javax/servlet/ServletException java/lang/String org/dspace/eperson/EPerson java/io/IOException java/sql/SQLException 'org/dspace/authorize/AuthorizeException org/dspace/core/Context %javax/servlet/http/HttpServletRequest &javax/servlet/http/HttpServletResponse :org/dspace/authenticate/factory/AuthenticateServiceFactory getInstance >()Lorg/dspace/authenticate/factory/AuthenticateServiceFactory; getAuthenticationService 9()Lorg/dspace/authenticate/service/AuthenticationService; 0org/dspace/eperson/factory/EPersonServiceFactory 4()Lorg/dspace/eperson/factory/EPersonServiceFactory; getAccountService -()Lorg/dspace/eperson/service/AccountService; getInitParameter &(Ljava/lang/String;)Ljava/lang/String; equalsIgnoreCase (Ljava/lang/String;)Z $org/dspace/core/ConfigurationManager getBooleanProperty '(Ljava/lang/String;Ljava/lang/String;)Z getParameter $org/dspace/app/webui/util/JSPManager showJSP d(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V )org/dspace/eperson/service/AccountService getEmail ?(Lorg/dspace/core/Context;Ljava/lang/String;)Ljava/lang/String; personService +Lorg/dspace/eperson/service/EPersonService; )org/dspace/eperson/service/EPersonService findByEmail I(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/eperson/EPerson; setAttribute '(Ljava/lang/String;Ljava/lang/Object;)V 5org/dspace/authenticate/service/AuthenticationService allowSetPassword U(Lorg/dspace/core/Context;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Z java/lang/Boolean valueOf (Z)Ljava/lang/Boolean; org/dspace/app/webui/util/UIUtil getIntParameter <(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)I getRequestLogInfo ;(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String; org/dspace/core/LogManager getHeader Q(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; org/apache/log4j/Logger warn (Ljava/lang/Object;)V showIntegrityError R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V length ()I toLowerCase ()Ljava/lang/String; trim findByNetid canLogIn ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString info canSelfRegister equals (Ljava/lang/Object;)Z sendRegistrationInfo .(Lorg/dspace/core/Context;Ljava/lang/String;)V getNextException ()Ljava/lang/Exception; TRUE Ljava/lang/Boolean; complete getProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (I)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (Ljava/util/Hashtable;)V !javax/naming/directory/DirContext close -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getRequireCertificate sendForgotPasswordInfo *(Ljava/lang/Object;Ljava/lang/Throwable;)V showInternalError turnOffAuthorisationSystem create 7(Lorg/dspace/core/Context;)Lorg/dspace/eperson/EPerson; setEmail (Ljava/lang/String;)V setNetid update =(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V restoreAuthSystemState setCurrentUser (Lorg/dspace/eperson/EPerson;)V updateUserProfile _(Lorg/dspace/core/Context;Lorg/dspace/eperson/EPerson;Ljavax/servlet/http/HttpServletRequest;)Z setCanLogIn (Z)V setSelfRegistered initEPerson _(Lorg/dspace/core/Context;Ljavax/servlet/http/HttpServletRequest;Lorg/dspace/eperson/EPerson;)V confirmAndSetPassword F(Lorg/dspace/eperson/EPerson;Ljavax/servlet/http/HttpServletRequest;)Z deleteToken abort getEPerson getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? W *? *? ? ? *? ? ? ? ? 9 M N P Q P ? ? ? ? ? ? U *? ** ? ? ? *? ? ? ? V W X Y ? ? ? ? ? ? ? ? ? ?,? :? ,*? ? *? ? ,-? ,-? ? ?,-? ? ?*? +? ::? *? +? :,? ,? *? ? .? )*? +,? 6,? ? ,- ? ? !*? ? ? ,-!? ? ,-"? ?? ? b h j m p r $ t . y 8 ? F ? I ? N ? \ ? f ? p ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? R ? ? ? F z ? ? I w ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? $ ? ? # ? ?? E? ? ? ? ? ? ? ? ? ? X,#? $6? 8 $ .*+,-? %? ,*+,-? &? "*+,-? '? ? (+),? *? +? ,,-? -? ? 6 ? ? $ ? + ? . ? 5 ? 8 ? ? ? B ? I ? L ? R ? W ? ? 4 X ? ? X ? ? X ? ? X ? ? P ? ? ? ? $ ? ? ? ? ? ? ? ? ? ?,.? :? ? /@? 0:? ? 1? 2:,3? :,4? :*? +? ::? *? +? 1? 5 :*? ??? ? 6? ? 5? 6? -? (+7? 8Y? 9:? ;? ;? <? +? =,->? ?l*? +,? ? 6 ?r*? ? ? ? 20? @? ?? (+A? 8Y? 9:? ;? ;? <? +? =*? +? B ? F: ? D? E? 6? (+F? 8Y? 9:? ;? ;? <? +? =,G? H? ,-? ? ?,-I? +? J? ?? ?0? @? ?K? L: M? L:N? L:? OY? P: RS? TW U ? TW VW? TW X? 8Y? 9? ;Y? ;? ;Z? ;? ;? <? TW [? TW? \Y ? ]:? ^ ? 2:? (+`? 8Y? 9a? ;? ;? b? <? +? =,-c? ?,- ? ? ,-d? ? ?? 8? (+e? 8Y? 9:? ;? ;? <? +? =,G? H? ,-? ? ?? 6? -? (+f? 8Y? 9:? ;? ;? <? +? =,-g? ? s? h? 4*? ? -? (+i? 8Y? 9:? ;? ;? <? +? =,-j? ? :? (+k? 8Y? 9:? ;? ;? <? +? =*? +? l ,-m? +? J? ?: ? (+o? 8Y? 9:? ;? ;? <? +? =,G? H? *? ? *? ? ,-? ? ,-? ? ,-? ? ,: ? (+q? 8Y? 9:? ;? ;? <? + ? r,-? s? ? C??? _ eK nL( n) n eKu pL(u p)u p ? : N ? ? ? ? * ? 4 ? >