free asp. net mvc pdf viewer : C# convert pdf to text control software platform web page windows wpf web browser MapleTA_SystemAdminis2-part318

Comments
Default
Property
Theearliestdatethatyouwanttoincludeinyourusage
query.TheStartDatecanonlybeselectedviathecalen-
dar.
None
StartDate
TousetheStartDateasthebeginningofthetimeperiod
forthesearch,selectusestartdatefromthedropdown
list.Tousethedefaultstartdateforthetimeperiod,se-
lectrounddatetostartperiodfromthedropdownlist.
Thefinaldatethatyouwanttoincludeinyourusage
query.AswiththeStartDate,theEndDatecanonlybe
selectedviathecalendar.
None
EndDate
Includethosetimeswherenoonewasinthesystem.
False(unselected)
IncludeZeroValues
SelecttheShowAllEntriesboxtoseeadetailedaccount
ofthesystemusageforthedesiredtimeperiod.After
False(unselected)
ShowAllEntries
theShowAllEntriesboxhasbeenselected,re-submit
thequeryandclickontheplus(“+”)signbesidethestart
dateintheDatecolumnofthetabletoseeindividual
entries.
Note:Searchescanbefurtherrefinedbyclickingonthe“start”and“end”linksinthesamerowasthedesiredindividual
StartDateandEndDateentriesintheDatecolumn.
17 • Post-InstallationConfigurationOptions
C# convert pdf to text - control software platform:C# PDF Convert to Text SDK: Convert PDF to txt files in C#.net, ASP.NET MVC, WinForms, WPF application
C# PDF to Text (TXT) Converting Library to Convert PDF to Text
www.rasteredge.com
C# convert pdf to text - control software platform:VB.NET PDF Convert to Text SDK: Convert PDF to txt files in vb.net, ASP.NET MVC, WinForms, WPF application
VB.NET Guide and Sample Codes to Convert PDF to Text in .NET Project
www.rasteredge.com
3.1.6LogUtilityPage
Note:ThispagewillnotsendanyinformationtoMaplesoftTechnicalsupportunlessMapleT.A.isproperlyconnected
toanSMTPemailserver.
Formoreinformationonlogging,seeLogging(page20).
Comments
Default
Property
Usethefullpathtothelogsdirectory.Forexample,on
Windows:c:/ProgramFiles/Apache/tomcat/logsoron
Linux:/usr/local/apache/logs
N/A
SpecifylocationofTomcat’slogsfolder:
Nameisarequiredfield.
N/A
Name
Schoolisarequiredfield.
N/A
School
N/A
FromAddress
Provideadditionalinformationsuchas:CPUspeedand
amountofRAM,OperatingSystemandversionsof
N/A
Additionalinformation
Tomcat,Postgres,JavaandMapleT.A.(includinghot-
fixes).
3.2GradebookPagingandScrolling
Gradebookdisplaysforadministratorsandinstructorscanbelarge(manythousandsofrowsinsomecases).Forthis
reason,MapleT.A.managestheirdisplaywithacombinationofpagingandscrolling.Thispagingandscrollingis
configuredbypropertiesin<MapleT.A.>/config/system.properties.
18 • Post-InstallationConfigurationOptions
control software platform:C# PDF Text Extract Library: extract text content from PDF file in
C# PDF - Extract Text from PDF in C#.NET. Feel Free Best C#.NET PDF text extraction library and component for free download. XDoc.PDF
www.rasteredge.com
control software platform:C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
›› C# PDF: Convert PDF to Jpeg. C# PDF - Convert PDF to JPEG in C#.NET. C#.NET PDF to JPEG Converting & Conversion Control. Convert PDF to JPEG Using C#.NET.
www.rasteredge.com
Comments
Default
Property
Thenumberofgradebookrowsavailablefordisplayin
thebrowseratonetime.Therowsmayallbedisplayed
50
gradebook.tables.pagesize
simultaneouslyortheymaybeverticallyscrolled,with
asmallernumbervisiblesimultaneously.Mustbeat
least10.
Themaximumnumberofcolumnsineachrowofthe
clickablepagelabels.Mustbeatleast10.
25
gradebook.tables.rowsize
Definesverticalscrolling.Thenumberofgradebook
rowsvisiblesimultaneously.If0or>=grade-
book.tables.pagesize,thereisnoscrolling.
0
gradebook.tables.scrollsize
3.3GradebookCellFormattingOptions
Bydefault,thegradebookdisplaysemptycellsinthefollowingway:
• Forwebpagedisplays,emptycellsaredisplayedasadashcharacter.
• ForCSVexports,emptycellsareleftemptysotheydisplayasemptycellsinspreadsheets.
Thisbehaviorcanbecustomizedbymodifyingapropertiesfile,<Tomcat>webapps/mapleta/WEB-
INF/classes/com/maplesoft/mapleta/gradebook/struts/app/ApplicationResources.properties,asfollows:
Comments
Default
Property
Canbeanytext.
-
label.decorator.number.empty
Canbeanytext.
<nothing>
label.decorator.csv.number.empty
19 • Post-InstallationConfigurationOptions
control software platform:C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net
also makes PDF document visible and searchable on the Internet by converting PDF document file into How to Use C#.NET Demo Code to Convert PDF Document to
www.rasteredge.com
control software platform:C# PDF Convert to Tiff SDK: Convert PDF to tiff images in C#.net
Home ›› XDoc.PDF ›› C# PDF: Convert PDF to Tiff. C#.NET PDF SDK - Convert PDF to TIFF in C#.NET. Online C# Tutorial for How
www.rasteredge.com
4MonitoringandLogging
4.1Monitoring
MapleT.A.supportsmonitoringofthehealthofkeycomponentsofthesystem:
1. Tomcatwebserver
2. Postgresdatabaseserver
3. Mapleengines
4. XwindowsystemorXvfbforLinuxinstallations
Monitoringentrypointsallowsyoutoperformanon-intrusivehealthcheck.Youcancheckallcomponentswithone
HTTPrequestorchecktheservicesindividually.
TopingallcomponentswithoneHTTPrequest,themonitoringURLis:http://MAPLETA/ws/monitor,where
MAPLETAisthepathtoyourMapleT.A.installation.Withinstallationdefaults,thisishttp://local-
host:8080/mapleta/ws/monitor.
ThisURLreturnsapagewithasingleword,UPorDOWN.UPindicatesthatallcomponentsareupandrunning.
DOWNindicatesoneormorecomponentsarenotfunctioningproperly.IfDOWNisreturned,youcanperformseparate
checkstodeterminewhichservicecausedtheproblem.
Topingservicesseparately,usethefollowingURLs:
• Tomcatmonitor—http://MAPLETA/ws/tomcatMonitor
• Postgresmonitor—http://MAPLETA/ws/databaseMonitor
• Maplemonitor—http://MAPLETA/ws/mapleMonitor
• Xvfbmonitor—http://MAPLETA/ws/xvfbMonitor
AllURLsreturnapagewithasingleword,UPorDOWN.UPindicatesthatthecomponentisupandrunning.DOWN
indicatesaproblemwiththemonitoredservice.
4.2Logging
4.2.1HowMapleT.A.Logs
MapleT.A.logsusinglog4j,anApacheSoftwareFoundationcomponentwidelyusedbyJavaapplications.Seeht-
tp://logging.apache.org/log4j/
.
MapleT.A.componentsloginsuchawaythatdifferentfunctionalareasoftheapplicationcanlogtodifferentfiles.
4.2.2ConfiguringLogging
Loggingisconfiguredbypropertiesin<MapleT.A.>/config/log4j.properties.Thedetailsarespecifictothelog4j
productandarebeyondthescopeofthisdocument.Seehttp://logging.apache.org/log4j/
.
4.2.3TheDefaultLogLevel
ThedefaultloglevelsetbytheMapleT.A.installerisWARNformostlogfiles.Thesemeansthatlogmessagesare
limitedtothoseindicatingwarningsorerrors.Thereasonissothatthelogscanbeexpectedtocontainonlyexceptional
events,thingsthatneedaction.Thissupports“managementbyexception”.Ifyouwishtoseemoredetailinthelogs,
youmayincreasetheloglevelstoINFO(moderatedetail)orDEBUG(mostdetail,canbeveryverbose).
20
control software platform:C# PDF Convert to Word SDK: Convert PDF to Word library in C#.net
text, image, table, hyperlink and bookmark to Word without losing format. Powerful components for batch converting PDF documents in C#.NET program. Convert PDF
www.rasteredge.com
control software platform:C# PDF Convert to SVG SDK: Convert PDF to SVG files in C#.net, ASP
situations, it is quite necessary to convert PDF document into images are defined in XML text lines, they Therefore, in C#.NET web document viewing applications
www.rasteredge.com
4.2.4ContentsoftheLogFiles
TheMapleT.A.applicationlogstofilesin<Tomcat>/logs.Thefollowingtablesummarizesthelogfilesandtheir
contents:
Contents
LogFile
Classcreation,deletionetc.
classmanager.log
Thetakingoftests.
gateway.log
Rosterimports.
importer.log
LDAPinitialization,searching.
ldap.log
AccesstothepoolofMapleservers.
maple_router.log
AggregatesallMapleT.A.logging–the“masterlog”.
mapleta.log
Eventsrelatingtoproctorauthorizationofstudentsbeginningassignments.
proctor.log
QuestionBankediting.
qbeditor.log
Login,logout.
session.log
InformationonMapleT.A.’srewritingofURLstofacilitatecontrolflowintheweb
application.Thisisrarelyinteresting.
urlrewrite.log
Someinformationonuseradditionsandimporting(overlapwithimporter.log).
useradmin.log
Similartousermanager.log,willlikelybemergedinafuturerelease.
usermanager.log
Tomcatitselfalsologstofilesin<Tomcat>/logs.Thefollowingtablesummarizesthelogfilesandtheircontents:
Contents
LogFile
Usefulinformationaboutstartup.DuringstartupmayloginformationaboutMaple
T.A.thatMapleT.A.itselfisnotabletolog.
catalina.log
MessagesspecifictotheTomcatinstance.ThereisrarelyanythingusefulforMaple
T.A.trackingordiagnosisinthislog.
localhost.log
MaylogexceptionsnotcaughtbyMapleT.A.
stdout.log
Likestdout.log,maylogexceptionsnotcaughtbyMapleT.A.
stderr.log
NotnormallyusefulforMapleT.A.trackingorproblemdiagnosis.
VariousotherTomcatlogs
4.2.5Dealingwiththe"ErrorlistenerStart"Problem
ThereisaknownconflictbetweenTomcat’sloggingandlog4jloggingbyTomcatapplications.Theproblem’s
symptomisanobviousgapinloginformationwhenerrorsoccurduringcertainapplicationinitializationsituations.
ExamplesofthiscanhappenwhenMapleT.A.’saccesstoitsdatabaseisconfiguredincorrectlyandwhenMapleT.A.
encounterssecurityproblemswhenTomcatSecurityisenabledwithamultiple-instanceTomcatwebapplication
structure,withoutcompensatingsecuritypolicyconfiguration.Inthesecasesyouwillsee‘ErrorlistenerStart”messages
inTomcat’scatalina.log,andverylittleelse.
Todiagnosesituationslikethis,itishelpfultoremovethelog4jjarfiletemporarilyfrom<Tom-
cat>/webapps/mapleta/WEB-INF/lib.Afterthat(andaTomcatrestart),Tomcatwillusuallylogagreatdealmorein-
formationaboutthesituation,helpingproblemdiagnosis.
21 • MonitoringandLogging
control software platform:C# PDF insert text Library: insert text into PDF content in C#.net
|. Home ›› XDoc.PDF ›› C# PDF: Insert Text to PDF. C#.NET PDF SDK - Insert Text to PDF Document in C#.NET. C#.NET Project DLLs: Insert Text Content to PDF.
www.rasteredge.com
control software platform:C# PDF Text Search Library: search text inside PDF file in C#.net
|. Home ›› XDoc.PDF ›› C# PDF: Search PDF Text. C#.NET PDF SDK - Search and Find PDF Text in C#.NET. C#.NET PDF DLLs for Finding Text in PDF Document.
www.rasteredge.com
5ImplementingSSL
ConnectionstoMapleT.A.aremanagedbyyourTomcatserver.ConfiguringSSLislargelyaTomcatoperationand
haslittletodowithT.A.itself.TheTomcatdocumentationcontainsinstructions.Seeforexamplehttp://tom-
cat.apache.org/tomcat-5.5-doc/ssl-howto.html
.Inthefollowing,wesummarizethesteps.RefertotheTomcatdocu-
mentationfordetails.
NotethatitispossibletoconfigureaMapleT.A.servertoauthenticatewithLDAPoveranSSLconnection.This
featureisdifferentfromenablingSSLwithMapleT.A.Itispossibletoimplementbothfeatures,eitherfeaturebyitself,
orneither.ForinformationonauthenticatingviaLDAPoverSSL,seeExampleofMapleT.A.LDAPOverSSL(page32).
ThefollowingstepsimplementSSLforMapleT.A.:
1. StopTomcat.
2. Createakeystorewiththecertificateyouwanttouse.Youmayplaceitanywhere,butthe<Tomcat>installation
directoryisaconvenientandreasonableplace.
3. Inthe<Tomcat>\conf\server.xmlfile,makethefollowingchanges:
a. Disablethe8080(non-SSL)connectordefinitionbysurroundingitwithXMLcommenttags.
<!--
<Connector
port="8080"
maxHttpHeaderSize="8192"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
/>
-->
b. Enablethe8443connectordefinitionbyremovingtheXMLcommenttagsthatsurroundit.
<Connector
port="8443"
maxHttpHeaderSize="8192"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
22
enableLookups="false"
disableUploadTimeout="true"
acceptCount="100"
scheme="https"
secure="true"
clientAuth="false"
sslProtocol="TLS"
keystoreFile="<keystore_path>”
keystorePass=”<keystore_password>"
/>
Provide<keystore_path>and<keystore_password>asappropriate.<keystore_path>maybeanabsolutepathname
oritmayberelativetothe<Tomcat>installationfolder.
4. Inthe<Tomcat>\webapps\mapleta\WEB-INF\web.xmlfile,makethefollowingtwochanges:
a. IntheForwardRequestservletsection,settheporttothatspecifiedintheSSLconnector(bydefault,8443
–seeStep3above):
<servlet>
...
<init-param>
<param-name>port</param-name>
<param-value>8443</param-value>
</init-param>
...
</servlet>
b. Inthesamesection(ForwardRequestservlet),addthefollowing:
<init-param>
<param-name>protocol</param-name>
<param-value>https</param-value>
</init-param>
5. RestartTomcat.
23 • ImplementingSSL
6MapleT.A.LDAPAuthentication
6.1Introduction
MapleT.A.supportstwokindsofauthentication:
1. MapleT.A.Authentication.UsernamesandpasswordsarestoredinMapleT.A.’sdatabase.
2. LDAPAuthentication.UsernamesandpasswordsarestoredinanLDAPserver,typicallyadministeredbyyourin-
stitution’sITdepartment,andusedthroughouttheinstitution.
MapleT.A.supportstheLDAPstandardandshouldbeabletouseanyLDAPserverimplementation.Forexample,
wehavecustomersusingOpenLDAP®,ActiveDirectory®,Sun™ONEDirectoryServerandNovelleDirectory™.
TheseserversaredeployedonavarietyofplatformsincludingLinux,Solaris,andWindowsServer.
6.2RequirementsforMapleT.A.LDAPAuthentication
MapleT.A.LDAPrequiresthefollowingforintegration.Ifyoucannotmeettheserequirements,youcannotintegrate
MapleT.A.7withyourLDAP:
Description
Requirement
V3
LDAPversion
MapleT.A.supportsonly“simple”binding.MapleT.A.doesnotsupportSASL,
thealternativetosimplebinding.
Simplebinding
TheMapleT.A.installrequeststheusernameandpasswordofaMapleT.A.ad-
ministratoraccount.Thatusername/passwordcombinationmustbeanentryin
MapleT.A.AdmininLDAP
LDAPinoneofthecontainers(subtrees)configuredforMapleT.A.intheMaple
T.A.ldap.propertiesfile.TheMapleT.A.administratordoesnotneedanyspecial
LDAPpermissions.
MapleT.A.supportstwomodes–“authenticatedsearch”and“anonymoussearch”.
SearchUserinLDAP
1.“Authenticatedsearch”requiresconfigurationofausernameandpassword
fora“SearchUser”.ThismayoptionallybethesameastheMapleT.A.Admin
(seeabove).TheSearchUserisrequiredfor:
a. Authentication
b.Importingstudentrosters
c. AddinguserstoMapleT.A.manually
TheSearchUsermusthavesufficientLDAPpermissionstobeabletoreadthe
valuesoftheLDAPattributesthataremappedtoMapleT.A.attributesinthe
configurationfile.SeeConfiguringMapleT.A.LDAPAuthentication(page26).
2.“Anonymoussearch”requiresnousernameorpassword.Inthiscase,anan-
onymousbindmusthavesufficientLDAPpermissionstolocateusersand
readthevaluesoftheLDAPattributesthataremappedtoMapleT.A.attributes
intheconfigurationfile.SeeConfiguringMapleT.A.LDAPAuthentica-
tion(page26).
Thesemodesandanysearchusercredentialsmaybespecifiedatthesubtree
(container)level.Forexample,youmayhavedifferentsearchusersindifferent
subtrees.
YoumustselectanLDAPattributewhosevalueisthetexttypedinbyMaple
T.A.usersfor“Userlogin”inthelogindialog.ThisisoftenuidforLinuxLDAP
MapleT.A.loginattribute
servers,orsAMAccountNameforActiveDirectory.Thereareotheroptions,
dependingontheLDAPrepositorystructure.Theoverridingconstraintisthat
theloginattributemustuniquelyidentifyauser.
24
Description
Requirement
loginattributesmaybespecifiedatthesubtree(container)levelinwhichcase
theuniquenessconstraintappliesonlytothesubtree.
Therepositorymustprovideauserattributethatuniquelyidentifiesuserswithin
thespaceofMapleT.A.users.Inpractice,uidorcncanusuallybeusedforthis.
MapleT.A.usernameattributeinLDAP
Itisnotessentialthatthisattributebethe“loginattribute”forMapleT.A.,orthe
rdnforLDAP,althoughthatisfrequentlythecase.Beawarethatthevalueof
thisattributeisdisplayedincolumnstitled“Login”throughoutMapleT.A.
Therepositorymustprovidealastnameattribute.Inpractice,sncanusuallybe
usedforthis.Ifalastnameattributeisnotavailable,lastnamecanbederived
fromafullnameattributeusinganattributeparser.
MapleT.A.LastNameattributeinLDAP
Therepositorymustprovideafirstnameattribute.Inpractice,givenNamecan
usuallybeusedforthis.Ifafirstnameattributeisnotavailable,firstnamecan
bederivedfromafullnameattributeusinganattributeparser.
MapleT.A.FirstNameattributeinLDAP
Beawarethat,besidesusername,lastname,andgivenname,MapleT.A.canalsousethefollowingoptionalitemsof
informationfromLDAP,todescribeusers.Theseitemsappearinvarioustablesandreports:
• Middleinitial
• Emailaddress(non-nullvaluesmustbeunique)
• StudentId(non-nullvaluesmustbeunique)
6.3SpecifyingMapleT.A.LDAPAuthentication
YouselecttheauthenticationmodeduringMapleT.A.installation.
6.4ChangingtheAuthenticationModeAfterInstallation
Itispossibletochangethemodeafterinstallation,althoughtheneedforthisisextremelyrare.Themodeischanged
bymodifyingtheMapleT.A.databasedirectlywithasmallpackageofSQLcommands.SeeUsingPostgreSQL
Tools(page39)forinformationonhowtoexecuteSQLcommands.
ChangingfromLDAPtoMapleT.A.:
updatesystem_propertiessetvalue='DBSecurityServiceImpl'wherekey='AuthenticationBean';
updatesystem_propertiessetvalue=''wherekey='ProfileImporterBean';
updatesystem_propertiessetvalue='false'wherekey='LDAP_ENABLED';
ChangingfromMapleT.A.toLDAP:
updatesystem_propertiessetvalue='LDAPSecurityServiceImpl'wherekey='AuthenticationBean';
updatesystem_propertiessetvalue='LDAPProfileImporterServiceProviderImpl'wherekey='ProfileImporterBean';
updatesystem_propertiessetvalue='true'wherekey='LDAP_ENABLED';
BeawarethatifyouchangeauthenticationfromLDAPtoMapleT.A.,thepasswordswillbeunknownforallusers
excepttheadminspecifiedduringinstallation.Inparticular,thepasswordswillnotbethosethatareintheLDAPre-
pository.Youcandoabatchupdateofuserpasswordswiththerosterimportfacility.
25 • MapleT.A.LDAPAuthentication
6.5Diagnostics
InformationpertinenttoLDAPappearsinthesessionandLDAPlogs.Thesefilesare:
1. <Tomcat>/logs/session.log
2. <Tomcat>/logs/ldap.log
Forproblemdiagnosis,sessionandLDAPloggingshouldbesettoDEBUGinthe<MapleT.A.>/config/log4j.properties
file.
Therelevantlinesare
log4j.category.com.maplesoft.mapleta.session=DEBUG,R,session
log4j.category.com.maplesoft.mapleta.ldap=DEBUG,R,ldap
NotethatyoumustrestartTomcatinorderforlog4j.propertieschangestotakeeffect.
6.6TheMapleT.A.LDAPAuthenticationModel
MapleT.A.LDAPdoesthreethings:
1. SearchesforusersinLDAP
2. AuthenticatesusersinLDAP
3. MapsLDAPuserattributestoMapleT.A.userprofileattributes
Searchingforusersisalwaysdoneundera“searchuser”,whichmaybe(rarely)“anonymous”.Searchingforusersis
organizedbysubtree.Youconfiguresubtreesandrulesforsearchingthem.Theconfigurationreferstosubtreesand
theirrulesas“Containers”.Itispossibletohaveonecontainer,orseveral.Containerscaninheritfromacommonbase
container,simplifyingtheconfigurationdescription.
AuthenticatingauserinLDAPisalwaysdoneby“binding”theuserdirectlytoLDAP,usingtheuser’spassword.
AMapleT.A.userhasaprofilecomprisingsevenattributes.Eachattributehasaninternalnameandadisplayname.
TheinternalnameisusedinMapleT.A.’sdatabaseschemaandinconfiguringMapleT.A.LDAP.Thedisplayname
isusedintheMapleT.A.webapplication’spages.Thefollowingtablesummarizes:
Comment
DisplayName
InternalName
Required,mustbeuniquewithinMapleT.A.
Login
uid
Required.
FirstName
givenName
Required.
LastName
sn
Optional.
MI
mi
Optional.NotexposedinanyMapleT.A.web
pagescurrently.
cn
cn
Optional.SpecifiedStudentId’smustbeunique
withinMapleT.A.
StudentId
studentID
Optional.SpecifiedEmailAddressesmustbe
uniquewithinMapleT.A.
EmailAddress
email
6.7ConfiguringMapleT.A.LDAPAuthentication
YouconfigureMapleT.A.LDAPwithapropertiesfile,ldap.properties,foundintheconfigfolderofyourMapleT.A.
installation.
Linesinthispropertiesfilehavetheform“property”=“value”.Emptylinesandlinesstartingwiththe“#”character
(commentlines)areskipped.
26 • MapleT.A.LDAPAuthentication
Documents you may be interested
Documents you may be interested