{"id":3640,"date":"2018-11-02T17:28:15","date_gmt":"2018-11-02T08:28:15","guid":{"rendered":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/?p=3640"},"modified":"2020-05-21T17:28:09","modified_gmt":"2020-05-21T08:28:09","slug":"%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e5%a4%89%e6%9b%b4%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/?p=3640","title":{"rendered":"\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3"},"content":{"rendered":"<p>\u30d3\u30eb\u30c9\uff1a9801\u4ee5\u964d<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3092\u884c\u3046\u305f\u3081\u306e\u958b\u767a\u7528\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4efb\u610f\u3067\u8ffd\u52a0\u3067\u304d\u308b\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002Password Manager Pro\u304b\u3089\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u901a\u3058\u3066\u6307\u5b9a\u3057\u305f\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u4e0a\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u672c\u30ca\u30ec\u30c3\u30b8\u3067\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u4f7f\u7528\u3059\u308b\u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u624b\u9806\u3092\u3054\u6848\u5185\u3057\u307e\u3059\u3002<\/p>\n<div style=\"padding: 10px;border: 1px solid #dfdfdf;background-color: #f5f5f5;text-align: left\">\u25a0\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3\u25a0<br \/>\n<a href=\"#creating_class\">1.\u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u4f5c\u6210<br \/>\n<\/a><a href=\"#installing\">2.PMP\u306b\u5b9f\u88c5\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><br \/>\n<a href=\"#PMP_setting\">3.PMP\u5074\u306e\u8a2d\u5b9a<\/a><\/div>\n<p>&nbsp;<\/p>\n<h4><a name=\"creating_class\"><\/a>\u30b9\u30c6\u30c3\u30d71 \u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u4f5c\u6210<\/h4>\n<p>1. \u5b9f\u88c5\u30af\u30e9\u30b9\u3092\u8a18\u8ff0<\/p>\n<p>RemotePasswordReset Interface\u3092\u5b9f\u88c5\u3057\u3066Java\u30af\u30e9\u30b9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p><span style=\"color: #000000\">public interface RemotePasswordReset<\/span><br \/>\n<span style=\"color: #000000\"> {<\/span><br \/>\n<span style=\"color: #000000\"> \u00a0 public boolean changeRemotePassword(Properties resetProps) throws Exception;<\/span><br \/>\n<span style=\"color: #000000\"> \u00a0 public String getErrorMessage() throws Exception;<\/span><br \/>\n<span style=\"color: #000000\"> \u00a0 public boolean verifyRemotePassword(Properties verifyProps) throws Exception;<\/span><br \/>\n<span style=\"color: #000000\"> \u00a0 public boolean isDeviceAvailable(Properties verifyProps) throws Exception;<\/span><br \/>\n}<\/p><\/blockquote>\n<div>\n<blockquote><p>\/\/ This class provides the methods to implement password reset plugin. You need to implement the interface<\/p>\n<p>publicinterfaceRemotePasswordReset<br \/>\n{<br \/>\n\/**<br \/>\n* Used to display the error message while doing the password reset and verification operations. The output gets reflected in audit trails.<br \/>\n* @return Error message, if password reset is successful, return null. Otherwise, return a proper error message.<br \/>\n*\/<br \/>\npublic boolean changeRemotePassword(Properties resetProps) throws Exception;<br \/>\n\/** Actual function that will be called whenever \"change remote password\" functionality is triggered<br \/>\n*@param resetProps will contain all the details regarding the account for which password reset is triggered.<br \/>\n* @return Final output that will be sent to PMP server.<br \/>\n* {@value true} Success case - Allows the operation to proceed.<br \/>\n* {@value false} Failure case - Denies the operation to proceed.<br \/>\n**\/<\/p>\n<p>public String getErrorMessage() throws Exception;<br \/>\n\/*** Used to display the error message while doing the remote password reset and verification operations. The output gets reflected in audit trails.<br \/>\n* Return a proper error message.<br \/>\n*\/<\/p>\n<p>public boolean verifyRemotePassword(Properties verifyProps) throws Exception;<br \/>\n\/** This function will be called whenever \"verify remote password\" functionality is triggered.<br \/>\n*@param verifyProps will contain all the details regarding the account for which \"verify remote password\" was triggered.<br \/>\n*@return Final output that will be sent to PMP server.<br \/>\n*{@value true} Success case - Allows the operation to proceed.<br \/>\n*{@value false} Failure case - Denies the operation to proceed.<br \/>\n**\/<\/p>\n<p>public boolean isDeviceAvailable(Properties verifyProps) throws Exception; }<br \/>\n\/** This function will be called before \"verify remote password\" function to check the accessibility of the device for which verify password was triggered.<br \/>\n*@param verifyProps will contain all the details regarding the account for which verify remote password was triggered.<br \/>\n*@return Final output that will be sent to PMP server.<br \/>\n*{@value true} Success case - Allows the operation to proceed.<br \/>\n*{@value false} Failure case - Denies the operation to proceed.<br \/>\n**\/<\/p><\/blockquote>\n<div class=\"point\">\n<p>\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u3001Jire Service Desk\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u306b\u4f5c\u6210\u3057\u305f\u5b9f\u88c5\u30af\u30e9\u30b9\u3092<strong><a href=\"https:\/\/www.manageengine.com\/products\/passwordmanagerpro\/help\/jira-service-desk\">\u3053\u3061\u3089<\/a><\/strong>\u304b\u3089\u3054\u53c2\u7167\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h4><a name=\"installing\"><\/a>\u30b9\u30c6\u30c3\u30d72 PMP\u306b\u5b9f\u88c5\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>&lt;PMP&gt;\\lib\u306bjar\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u969b\u306b\u3001&lt;PMP&gt;\\lib\u30d5\u30a9\u30eb\u30c0\u30fc\u914d\u4e0b\u306eAdventNetPassTrix.jar\u3068json_simple-1.1.jar\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>Windows\u306e\u5834\u5408\uff1a<br \/>\njavac -d . -cp AdventNetPassTrix.jar;json_simple-1.1.jar; JiraServerResetImplementation.java<\/p>\n<p>Linux\u306e\u5834\u5408\uff1a<\/p>\n<p>javac -d . -cp AdventNetPassTrix.jar:json_simple-1.1.jar; JiraServerResetImplementation.java<\/p><\/blockquote>\n<p>\u203b\u4e0a\u8a18\u306f\u3001JiraResetImplementation.java\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<div class=\"point\">\n<p><strong>\u2606Tips\u2606<\/strong><\/p>\n<p>\u4e0b\u8a18\u306e\u30ea\u30b9\u30c8\u306f\u3001\u5b9f\u88c5\u30af\u30e9\u30b9\u4f5c\u6210\u306b\u5f15\u6570\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u30ea\u30bd\u30fc\u30b9\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"RESOURCEID\");<\/td>\n<td class=\"table_decoration10\" style=\"text-align: left\">\u30ea\u30bd\u30fc\u30b9ID\u306eLong \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"ACCOUNTID\");<\/td>\n<td class=\"table_decoration10\">\u30a2\u30ab\u30a6\u30f3\u30c8ID\u306eLong\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"OLDPASSWORD\");<\/td>\n<td class=\"table_decoration10\">\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u53e4\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"NEWPASSWORD\");<\/td>\n<td class=\"table_decoration10\" style=\"text-align: center\">\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"RESOURCENAME\");<\/td>\n<td class=\"table_decoration10\">\u30ea\u30bd\u30fc\u30b9\u540d\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"DNSNAME\");<\/td>\n<td class=\"table_decoration10\">\u30ea\u30bd\u30fc\u30b9\u306eDNS\u540d\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"ACCOUNTNAME\");<\/td>\n<td class=\"table_decoration10\">\u30a2\u30ab\u30a6\u30f3\u30c8\u540d\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"OSTYPE\");<\/td>\n<td class=\"table_decoration10\">\u30ea\u30bd\u30fc\u30b9\u306eOS\u7a2e\u5225\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"NOTES\");<\/td>\n<td class=\"table_decoration10\">\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a73\u7d30\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"LOGINNAME\");<\/td>\n<td class=\"table_decoration10\">\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u30ed\u30b0\u30a4\u30f3\u540d\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\">resetProps.get(\"IPADDRESS\");<\/td>\n<td class=\"table_decoration10\">\u30ea\u30bd\u30fc\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u306eString\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table_decoration10\" style=\"text-align: left\">resetpresetPropsrops.get(\"RESOURCEDETAILS\");<\/td>\n<td class=\"table_decoration10\" style=\"text-align: left\">\u30ea\u30bd\u30fc\u30b9\u306e\u4ed6\u306e\u3059\u3079\u3066\u306e\u60c5\u5831\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<\/div>\n<h4><a name=\"PMP_setting\"><\/a>\u30b9\u30c6\u30c3\u30d73 PMP\u5074\u306e\u8a2d\u5b9a<\/h4>\n<p>1.\u65b0\u898f\u30ea\u30bd\u30fc\u30b9\u7a2e\u5225\u306e\u4f5c\u6210<\/p>\n<p>\u7ba1\u7406\u8005\u3067\u30ed\u30b0\u30a4\u30f3\u5f8c\u3001[\u7ba1\u7406]-&gt;[\u30ea\u30bd\u30fc\u30b9\u7a2e\u5225]\u304b\u3089\u30ea\u30bd\u30fc\u30b9\u540d\u3092\u8ffd\u52a0\u3057\u307e\u3059<\/p>\n<p>2.\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a<\/p>\n<p>\u7ba1\u7406\u8005\u3067\u30ed\u30b0\u30a4\u30f3\u5f8c\u3001[\u7ba1\u7406]-&gt;[\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3]\u304b\u3089[\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8ffd\u52a0]\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u540d\u3001\u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u30d1\u30b9\u3001\u30ea\u30bd\u30fc\u30b9\u7a2e\u5225\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ed6\u306e\u7ba1\u7406\u8005\u306e\u627f\u8a8d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4ee5\u4e0a<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d3\u30eb\u30c9\uff1a9801\u4ee5\u964d \u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3092\u884c\u3046\u305f\u3081\u306e\u958b\u767a\u7528\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4efb\u610f\u3067\u8ffd\u52a0\u3067\u304d\u308b\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002Password Manager Pro\u304b\u3089\u30d7\u30e9\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/?p=3640\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5],"tags":[464,465],"class_list":["post-3640","post","type-post","status-publish","format-standard","hentry","category-design-pmp","tag-464","tag-465"],"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=\/wp\/v2\/posts\/3640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3640"}],"version-history":[{"count":17,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=\/wp\/v2\/posts\/3640\/revisions"}],"predecessor-version":[{"id":4248,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=\/wp\/v2\/posts\/3640\/revisions\/4248"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Password_Manager_Pro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}