Getting roles in encrypted format
Hi,
I am trying to read all the roles present in WAS through a EJB. Somehow the return values for roles (the ones created by a user) I am fetching are in encrypted format (here the roles which were created at the time of installation can be seen properly)
I searched for the roles through useradmin and I can see the roles perfectly normally.
Can anyone tell me what is happening here? and what can be done to resolve the issue?
Thanks in advance,
Nakul
Hi ,
I think if you are looking for integrating Excel to XI, then I will suggest to not consider the my above post.
I am sorry for the confusion. I am interpreted it as xml .....
Please refer below post for Excel to XI
Read Excel instead of XML through FileAdapter
/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
SAP Network Blog: eMail Report as Attachment (Excel/Word)
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
SAP Network Blog: XI: Generating Excel files without the Java nor the Conversion agent not possible?
/people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
SAP Network Blog: How to send any data (even binary) through XI, without using the Integration Repository
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
Thanks
Swarup
Similar Messages
-
How to get report in excel format instead of pdf from oracle forms.
Hi,
How to get report in excel format instead of pdf from oracle forms.
Form & Report developer 10g
report format .rdfcreate a report using report builder.
call the report from form using the following procedure
DECLARE
RO_Report_ID REPORT_OBJECT;
Str_Report_Server_Job VARCHAR2(100);
Str_Job_ID VARCHAR2(100);
Str_URL VARCHAR2(100);
PL_ID PARAMLIST ;
BEGIN
PL_ID := GET_PARAMETER_LIST('TEMPDATA');
IF NOT ID_NULL(PL_ID) THEN
DESTROY_PARAMETER_LIST(PL_ID);
END IF;
PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
RO_Report_ID := FIND_REPORT_OBJECT('RP2RRO');
Add_Parameter(pl_id,'P_SUPCODE',TEXT_PARAMETER,:CONTROL.S_CODE);
Add_Parameter(pl_id,'P_INVOICE_NO',TEXT_PARAMETER,:CONTROL.IN_NO);
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'INVOICE_REG_DETAILS.rep');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'SPREADSHEET');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'rep_dbserver_frhome1');
Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('rep_dbserver_frhome1') + 2, LENGTH(Str_Report_Server_Job));
Str_URL := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=rep_dbserver_frhome1';
WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
DESTROY_PARAMETER_LIST(PL_ID);
END; -
Since installing the last iPhoto update sharing a photo via e-mail opens a google e-mail format instead of an Apple Mail format. How can I get the Apple Mail format to come up when I click on share?
iPhoto preferences - set the email client to Mail
LN -
How can I migrate an Aperture library from an external HDD with Mac OS Extended (Journaled, Encrypted) format?
I used to store my pictures on an external hard drive using the latest version of Aperture. Now I tried migrating my Aperture library to Photos. However, after a short moment an error message popped up telling me that "Photos was unable to make a copy of your library before preparing it. Photos does not have the necessary permissions...".
My external HDD doesn't need any permission repairs nor is the system prohibited to read from or write to it.
Thanks for any advice in advance!
GohtacMy guess is that the encryption is the problem for the new app.
-
Getting incorrect DME file formate
Hi,
I am using TCODE FDTA in ECC5.0 to download the DME text file and expecting it to be downloaded in tabseperated format. whereas I am getting the correct file format in SAP 40b version. can anybody let me know if any SAP NOTE available to correct this problem.
Thanks,
ManishPlease answer it as soon as possible since it is very urgent to me.
Manish -
Hi,
I am using get-ADuser in order to extract a few AD attributes of some users. I export the users and their respective attributes to a CSV. However, the output in CSV i get has the following format in each cell for its AD attribute.
@{description=<Value>} or @ { info=<Value>}
I have tried to use Expandproperty switch in order to get rid of it but it does not accept null values and hence if a user has no value for a said attribute, the previous value is copied for that user too. However, without expand property it gives me the
above format in the output.
$Desc = Get-ADUser $Username -Properties description | select description
I would like the cells to contain only values and not this format along.
Also, once I have the CSV with values I would also like to copy the values from CSV in an email in the form of a TABLE. I have been able to copy the content in an email using the following however, this in not in a table format.
$mail = Import-Csv $newlogonfile | Out-String
Please HELP!Yes I am already using Export-Csv but still getting the same kind of format in output :-
$Username = $Event.Properties[5].Value
$Title_var = get-aduser $Username -properties Title | select Title
$Ofc_phone = get-aduser $Username -Properties OfficePhone | select OfficePhone
$Info_var = get-aduser $Username -properties info | select info
$Display_Name = get-aduser $Username -properties DisplayName | select DisplayName
$Mail = Get-ADUser $Username -Properties Mail | select Mail
$Desc = Get-ADUser $Username -Properties description | select description
$Props = @{
User = $Event.Properties[5].Value;
TimeCreated = $Event.TimeCreated;
LogonType = $Event.Properties[8].Value;
DCName = $Event.MachineName;
Workstation_address = $Event.Properties[18].Value;
Title = $Title_var;
OfficePhone = $Ofc_phone;
Info = $Info_var;
DisplayName = $Display_Name;
Description = $Desc;
EMail = $Mail
$LogonRecord = New-Object -TypeName psobject -Property $Props
$Result += $LogonRecord
$Result | Export-Csv -Path $logFile -append -UseCulture -NoTypeInformation # Log it to CSV
OUTPUT has values in this format in the CSV :-
@{info=} @{description=abc} @{DisplayName=} @{Officephone=}
@{Mail=[email protected]} -
Dear Friends..
How I can get from BPM Studio all roles?
I wrote this code:
Role oRoles;
oRoles = new Role("Client");
for (Participant element : oRoles.participants) {
// some code...
With this code, I get Role's participants , but how I can get Roles?
I hope any suggestions.
Best regards,
DannyHi Danny,
Even though it's PAPI, you can run this logic from a method inside your process since it's using the Fuego.Papi module in the catalog.
This gets all the roles in the processes deployed. Another approach would be to pass this method an array with just the names of the specific processes you want to retrieve the roles for.
ps as ProcessService
rolesInAllProcesses as String[]
do
connectTo(ps, url : Fuego.Server.directoryURL, user : "papiUser", password : "papiUser")
for each prc in ps.processes do
for each r in prc.roles do
// don't add the same role twice
if r !in rolesInAllProcesses then
logMessage "found: " + r
rolesInAllProcesses[] = r
end
end
end
// sort the pup
sort rolesInAllProcesses
on exit
disconnectFrom ps
endHope this helps,
Dan -
MS configure program: encryption format for UGDIR_BINDPW and CFGDIR_BINDPW
Hi Sun Folks,
I am creating a silent installation script for JES 3 messaging and I have come to a bit of roadblock. I would like to create a state file to use with the Messenger Server configure program "/opt/SUNWmsgsr/sbin/configure" and pass to it pre-set values for the following config file parameters:
CFGDIR_BINDPW
UGDIR_BINDPW
However, I noticed that when I ran this command and saved the state file that the passwords entered on the command line were encrypted. I tried to use the unencrypted values in a state file to pass to this configure program, however, the directory server gave me a bind error. I did try to use a SSHA encrypted password in this field to no avail.
If I can find out what the encryption format used, then I can populate this field accordingly.
Thanks!Problem is Jay is that this is a project for Sun Client Ready Services, so we don't have a support contract to work off of for this request. I have sent this request to the project contacts at Sun in the hopes that they can obtain this information for us.
I can definitely take this information off line too if you are able to obtain it for us... I am sure its information that you wouldn't want exposed in this news group. -
How to get the system date format string?
Hello, everybody!
I want to create a MaskFormatter with a mask for dates. So, I could suply as the constructor parameter: "##/##/####'. However, what if the year comes first in the current system date format settings, or the month is in the second place or in the first?... So, I can't just suppose that the current locale format for dates is like the one above. So, my question is: is there a way to get the SYSTEM DATE FORMAT STRING in Java? Searching in google I saw that this was already asked in this forum:
http://forum.java.sun.com/thread.jspa?threadID=301034&messageID=1193794
but there was no effective answer. Does someone already know how to get this?
Thank you.
MarcosHi, not sure, but
import java.text.*;
SimpleDateFormat sdf = new SimpleDateFormat();
System.out.println(sdf.toPattern());
will output something like dd/MM/yy HH:mm
hthThank you very much. It worked. -
How to get Default (System) Date Format Pattern?
How to get system default date format which is defined in Regional Setting of Control Panel.
We can get an instance of DateFromat using DateFormat.getDateInstance(DateFormat.SHORT) but problem is that there is no toPattern() exist in class DateFormat.
However toPattern() exist in class SimpleDateFormat but there is no costructor like SimpleDateFormat(DateFormat)
So please advise me, how can I get system short date format pattern?
Thanks
GAJESH TRIPATHII reterieve the system date format but not which is currently defined in regional setting of control panel but it returns the format which is installed by default when windows(os) is installed.
Edited by: gajesh on ? ????????, ???? ??:?? ?????????
Thanks to provide me solution. My source code related problem is solved but still I am not getting format which is defined in control panel. but By Letting that it is not possible in Java,... I am doing my next work...so CLOSE THIS TOPIC Thanks'n Bye. -
How To Get rid of Exponential format in datagridview when the number is very large
When the number is very large like :290754232, I got 2.907542E +08. in datagridview cell
I using vb.net , framework 2.0.
how can I get rid of this format?
Thanks in advanceshould I change the type of this column to integer or long ?
The datagridview is binded to binding source and a list ( Of).
Mike,
I'll show you an example that shows the correct way to do this and a another way if you're stuck using strings in exponential format. The latter being the "hack way" I spoke about Friday. I don't like it, it's dangerous, but I'll show both anyway.
In this example, I'm using Int64 because I don't know the range of yours. If your never exceeds Int32 then use that one instead.
First, I have a DataGridView with three columns. I've populated the data just by creating longs starting with the maximum value in reverse order for 100 rows:
The way that I created the data is itself not a great way (there's no encapsulation), but for this example "it'll do".
Notice though that the third column (right-most column) isn't formatted at all. I commented out the part that does that so that I could then explain what I'm doing. If it works, it should look like the first column.
The first column represents an actual Int64 and when I show the code, you can see how I'm formatting that using the DGV's DefaultCellStyle.Format property. That's how it SHOULD be done.
The third column though is just a string and because that string contains a letter in it, Long.TryParse will NOT work. This is where the "hack" part comes in - and it's dangerous, but if you have no other option then ...
You can see that now the third column matches the first column. Now the code:
Option Strict On
Option Explicit On
Option Infer Off
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
With DataGridView1
.AllowUserToAddRows = False
.AllowUserToDeleteRows = False
.AllowUserToOrderColumns = False
.AllowUserToResizeRows = False
.AlternatingRowsDefaultCellStyle.BackColor = Color.Aquamarine
.ReadOnly = True
.SelectionMode = DataGridViewSelectionMode.FullRowSelect
.MultiSelect = False
.RowHeadersVisible = False
.RowTemplate.Height = 30
.EnableHeadersVisualStyles = False
With .ColumnHeadersDefaultCellStyle
.Font = New Font("Tahoma", 9, FontStyle.Bold)
.BackColor = Color.LightGreen
.WrapMode = DataGridViewTriState.True
.Alignment = DataGridViewContentAlignment.MiddleCenter
End With
.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing
.ColumnHeadersHeight = 50
.DataSource = Nothing
.Enabled = False
End With
CreateData()
End Sub
Private Sub CreateData()
Dim longList As New List(Of Long)
For l As Long = Long.MaxValue To 0 Step -1
longList.Add(l)
If longList.Count = 100 Then
Exit For
End If
Next
Dim stringList As New List(Of String)
For Each l As Long In longList
stringList.Add(l.ToString("e18"))
Next
Dim dt As New DataTable
Dim column As New DataColumn
With column
.DataType = System.Type.GetType("System.Int64")
.ColumnName = "Actual Long Value (Shown Formated)"
dt.Columns.Add(column)
End With
column = New DataColumn
With column
.DataType = System.Type.GetType("System.String")
.ColumnName = "String Equivalent"
dt.Columns.Add(column)
End With
column = New DataColumn
With column
.DataType = System.Type.GetType("System.String")
.ColumnName = "Formated String Equivalent"
dt.Columns.Add(column)
End With
Dim row As DataRow
For i As Integer = 0 To longList.Count - 1
row = dt.NewRow
row("Actual Long Value (Shown Formated)") = longList(i)
row("String Equivalent") = stringList(i)
row("Formated String Equivalent") = stringList(i)
dt.Rows.Add(row)
Next
Dim bs As New BindingSource
bs.DataSource = dt
BindingNavigator1.BindingSource = bs
DataGridView1.DataSource = bs
With DataGridView1
With .Columns(0)
.DefaultCellStyle.Format = "n0"
.Width = 150
End With
.Columns(1).Width = 170
.Columns(2).AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
.Enabled = True
End With
End Sub
' The following is what I commented
' out for the first screenshot. ONLY
' do this if there is absolutely no
' other way though - the following
' casting operation is NOT ADVISABLE!
Private Sub DataGridView1_CellFormatting(ByVal sender As Object, _
ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) _
Handles DataGridView1.CellFormatting
If e.ColumnIndex = 2 AndAlso e.Value.ToString IsNot Nothing Then
' NOTE! The following is dangerous!
' I'm going to use coercion to force the
' string into a type long. TryParse will
' NOT work here. This can easily throw an
' exception if the string cannot be cast
' to a type long. I'm "depending on" the
' the string to cast. At the very least
' you might put this in a Try/Catch but
' that won't stop it from failing (if
' it doesn't work).
Dim actualValue As Long = CType(e.Value.ToString, Long)
Dim formattedValue As String = actualValue.ToString("n0")
e.Value = formattedValue
End If
End Sub
End Class
Like I said, only use that hack way if there's no other option!
I hope it helps. :)
Still lost in code, just at a little higher level. -
How to get the date time format in OCI
How to get a date time format in OCI instead of only date
You would have to use the OCIDateTime datatype for this. Refer to
OCI documentation for more details. -
Getting date and time format through RIDC call
Hello,
i want to set date and time features to my document , how can i get the date and time from RIDC call
Regards
Mayur MitkariHello
I am performing this operation for getting date
username = Util.getInstance().getCurrentUser().toString();
IdcClient myIdcClient = Util.getInstance().getUCMConnection();
IdcContext myIdcContext = new IdcContext(username);
DataBinder binder = myIdcClient.createBinder();
binder.putLocal("IdcService", "COLLECTION_GET_COLLECTIONS");
binder.putLocal("hasCollectionID", "true");
binder.putLocal("dCollectionID", parentNodeID);
idcResponse = myIdcClient.sendRequest(myIdcContext, binder);
DataBinder serverBinder = idcResponse.getResponseAsBinder();
DataResultSet resultSet = serverBinder.getResultSet("COLLECTIONS");
folderInfoList = new ArrayList<String>();
resultInfoList = new ArrayList<List>();
Iterator itr = resultSet.getRows().iterator();
while (itr.hasNext())
String dCreateDate = dataObject.get("dCreateDate").toString();
but i am getting date in this format "2012-05-22 08:26:52Z"
if i want the date in local timezone what can i do
Regards
Mayur Mitkari -
Outputing scheduled Webi reports to a ftp destination in encrypted format
Is there any way I can write out a webi report to a ftp or SMTP destination in an encrypted format ?
I can schedule the report and send it to a ftp destination but I don't know if that report can be in an encrypted format ?
Thanks,Hi Rajesh,
what do you want to encrypt ? The Report as itself or the communication to ysour destination (f.e. sFTP) ?!
sFTP is not a supported feature...yet. But there is a Workarround on how to use sFTP. Check the Articles of BOE XI R2 here on SDN. You should find the PDF on how to do that. Its compareable to XI 3.x
If you want to encrypt the Report as itself there is no feature from BO on how to do that.
There are already some ADAPT cases opend for enhancment of sFTP in further releases.
Regards
-Seb. -
Email notifications sent in encrypted format ?
Hi *,
As you all know the portal can be configured to send out notification emails when user is created, changed, locked etc.
In a normal email client you can import a certificate and then send encrypted emails.
Any idea how this can be configured for the portal so that when it sends a new users login and password, it would be in encrypted format and not plain text ?
Thanks
D.Hi Dimitar,
I bet that this is not configurable
For this you would need to figure out the class which sends the mail notifications, decompile it and add the logic you need, recompile, replace the original one.
Hope it helps nevertheless
Detlev
Maybe you are looking for
-
ITunes setup/installation not loading (Windows 7 64 bit)
So I uninstalled iTunes because it wasn't able to recognize my iPhone for some reason even though Windows would (and it could be viewed in the 'Computer' folder). At first I could take pictures off of the phone by navigating through these folders: Co
-
Every time I click on my ebooks in the .epub format, I get a dialog box that asks me which program I want to use to open the file, or if I wish to save it. When I Firefox to open the file, Firefox simply opens another tab with another dialog box and
-
Crystal reports V8.5 Chart legend adding up incorrectly - when using negative values
Post Author: dawnyanne CA Forum: Crystal Reports Hi if anyone can help me I would be extremely grateful! I have a pie chart with a legend. There are just two values that are showing but one of the values is a negative value and the total of the legen
-
I am doing a IDOC to file scenario. i have created a business service for the filesystem and i am not getting the file. but if i use a filesystem that has an entry in SLD i get the file. i am confused.. any help is appreciated
-
Indesign CC doesn't find and highlight links when trying to relink!!
I was so excited to see all the customizable options in my new InDesign CC, until I tried to relink a file from the links palette and CC doesn't find and highlight the file anymore like it used to do with 4 and 5!! As a prepress operator dealing with